Build system improvement.
[lwext4.git] / toolchain / cortex-m4.cmake
index 697376a85f1f16e3f1f765c474525928fd96eb53..0d06ec361ea2f1276c97e227c8eb0080a59334c0 100644 (file)
@@ -4,6 +4,6 @@ set(CMAKE_SYSTEM_PROCESSOR cortex-m4)
 \r
 set(MCPU_FLAGS "-mthumb -mcpu=cortex-m4")\r
 set(VFP_FLAGS "-mfloat-abi=hard -mfpu=fpv4-sp-d16")\r
-\r
+set(LD_FLAGS "-nostartfiles")\r
 \r
 include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
\ No newline at end of file