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