mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 20:03:33 +08:00
toolchains: remove unnecessary definition
This commit is contained in:
committed by
Lorenz Meier
parent
99799d83b1
commit
078d13e45e
@@ -70,10 +70,6 @@ foreach(tool echo grep rm mkdir nm cp touch make unzip)
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
add_definitions(
|
|
||||||
-D __OCPOC
|
|
||||||
)
|
|
||||||
|
|
||||||
set(LINKER_FLAGS "-Wl,-gc-sections")
|
set(LINKER_FLAGS "-Wl,-gc-sections")
|
||||||
set(CMAKE_EXE_LINKER_FLAGS ${LINKER_FLAGS})
|
set(CMAKE_EXE_LINKER_FLAGS ${LINKER_FLAGS})
|
||||||
set(CMAKE_C_FLAGS ${C_FLAGS})
|
set(CMAKE_C_FLAGS ${C_FLAGS})
|
||||||
|
|||||||
Reference in New Issue
Block a user