Browse Source

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

simple
Jacob Alexander 11 years ago
parent
commit
adc0f9d450
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      arm.cmake

+ 1
- 1
arm.cmake View File

@@ -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].