Remove -Wl,--gc-sections and related build options.

It breaks compilation on OSX (tested with OSX 10.9.5).

Change-Id: Ie8012829d9d5d4faa5f67451a44ffd8a5daeba46
This commit is contained in:
Alexandre Rames 2016-07-25 14:14:22 +01:00
parent 2b5d561b62
commit fa4a4bd37d

View File

@ -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'],