瀏覽代碼

Adding linker "dead-code" removal option to CMake build options.

simple
Jacob Alexander 11 年之前
父節點
當前提交
adc0f9d450
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      arm.cmake

+ 1
- 1
arm.cmake 查看文件

@@ -77,7 +77,7 @@ set( WARN "-Wall -g" )

#| Tuning Options
#| -f...: tuning, see GCC manual
set( TUNING "-mthumb -nostdlib" )
set( TUNING "-mthumb -nostdlib -fdata-sections -ffunction-sections" )


#| Optimization level, can be [0, 1, 2, 3, s].