Mercurial > louis > kiibohd-controller
changeset 76:f717c8e9c859
Adding linker "dead-code" removal option to CMake build options.
author | Jacob Alexander <triplehaata@gmail.com> |
---|---|
date | Fri, 01 Feb 2013 16:48:54 -0500 |
parents | 108076064e6c |
children | a977fbfdb7a5 |
files | arm.cmake |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/arm.cmake Fri Feb 01 15:10:58 2013 -0500 +++ b/arm.cmake Fri Feb 01 16:48:54 2013 -0500 @@ -77,7 +77,7 @@ #| 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].