Skip to content

Commit b4ab975

Browse files
committed
Cleanup jerry-libc CMakeLists
Remove "-I/home/.../jerryscript/jerry-libc/__TARGET_HOST" and "-D__TARGET_HOST" from compiler command line, they don't add anything useful. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
1 parent 2e28542 commit b4ab975

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

jerry-libc/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ file(GLOB SOURCE_LIBC *.c)
4040
# Linux
4141
if(DEFINED PLATFORM AND ((PLATFORM STREQUAL "LINUX") OR (PLATFORM STREQUAL "DARWIN")))
4242
file(GLOB TARGET_SPECIFIC_LIBC_SOURCE target/posix/*.c target/posix/*.S)
43-
set(INCLUDE_LIBC ${INCLUDE_LIBC} __TARGET_HOST)
44-
set(DEFINES_LIBC ${DEFINES_LIBC} __TARGET_HOST)
4543
endif()
4644

4745
add_library(${JERRY_LIBC_NAME} STATIC ${SOURCE_LIBC} ${TARGET_SPECIFIC_LIBC_SOURCE})

0 commit comments

Comments
 (0)