Move find of STRIP_TOOL to toolchain

Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
This commit is contained in:
Nicolae Rosia
2017-06-13 08:16:37 +02:00
committed by Lorenz Meier
parent a50a87928f
commit 3dd32492de
2 changed files with 3 additions and 3 deletions
@@ -18,6 +18,8 @@ foreach(tool echo grep rm mkdir nm cp touch make unzip)
endif()
endforeach()
FIND_PROGRAM(STRIP_TOOL "arm-linux-gnueabihf-strip")
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-gc-sections")
#set(CMAKE_C_FLAGS ${C_FLAGS})
#set(CMAKE_CXX_LINKER_FLAGS ${C_FLAGS})