Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions make/NativeCompilation.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ else

CC_NAME := gcc
LINK_NAME := gcc
CFLAGS += -O3
LDFLAGS += -O3
ifneq ($(SYSROOT),)
CFLAGS += --sysroot=$(SYSROOT)
endif
Expand Down
2 changes: 1 addition & 1 deletion test/test-support/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ foreach(TEST_LIB ${TEST_LIBS})
)

# Link against libm to resolve sqrt() and other math symbols
find_library(LIBM, m)
find_library(LIBM m)
if(LIBM)
target_link_libraries(${LIB_NAME} ${LIBM})
endif()
Expand Down