aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAlexandre Rames <alexandre.rames@linaro.org>2016-07-25 14:14:22 +0100
committerAlexandre Rames <alexandre.rames@linaro.org>2016-07-28 12:16:02 +0000
commitfa4a4bd37def52d8715e1868ff0026658e8a6722 (patch)
tree192c72f6c74d1a48e3007c63796115045cc6fe0b /SConstruct
parent2b5d561b62ab5d584428f56872f67631bce66ad2 (diff)
downloadvixl-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--SConstruct3
1 files changed, 1 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 7188d752..2b1554b1 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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'],