diff options
author | Alexandre Rames <alexandre.rames@linaro.org> | 2016-07-25 14:14:22 +0100 |
---|---|---|
committer | Alexandre Rames <alexandre.rames@linaro.org> | 2016-07-28 12:16:02 +0000 |
commit | fa4a4bd37def52d8715e1868ff0026658e8a6722 (patch) | |
tree | 192c72f6c74d1a48e3007c63796115045cc6fe0b /SConstruct | |
parent | 2b5d561b62ab5d584428f56872f67631bce66ad2 (diff) | |
download | vixl-fa4a4bd37def52d8715e1868ff0026658e8a6722.tar.gz |
Remove `-Wl,--gc-sections` and related build options.
It breaks compilation on OSX (tested with OSX 10.9.5).
Change-Id: Ie8012829d9d5d4faa5f67451a44ffd8a5daeba46
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -89,8 +89,7 @@ options = { 'CCFLAGS' : ['-DVIXL_DEBUG', '-O0'] }, 'mode:release' : { - 'CCFLAGS' : ['-O3', '-fdata-sections', '-ffunction-sections'], - 'LINKFLAGS' : ['-Wl,--gc-sections'] + 'CCFLAGS' : ['-O3'], }, 'simulator:on' : { 'CCFLAGS' : ['-DVIXL_INCLUDE_SIMULATOR'], |