Adding linker "dead-code" removal option to CMake build options.
This commit is contained in:
bovenliggende
d5c4a0a9fa
commit
adc0f9d450
@ -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].
|
||||
|
Verwijs in nieuw issue
Block a user