Archived
1
0

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

This commit is contained in:
Jacob Alexander 2013-02-01 16:48:54 -05:00
parent d5c4a0a9fa
commit adc0f9d450

View File

@ -77,7 +77,7 @@ set( WARN "-Wall -g" )
#| Tuning Options #| Tuning Options
#| -f...: tuning, see GCC manual #| -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]. #| Optimization level, can be [0, 1, 2, 3, s].