SCons: Add option to toggle warnings (on by default)
All the warnings are factored out of the platform-specific files and moved to SConstruct. Will have to check that it does not introduce regressions on some platforms/compilers. (cherry picked from commit 31107daa1a41fe9ab3c7c1868479e78e16848333)
This commit is contained in:
parent
a0b0dff6fd
commit
d8f32637be
10 changed files with 27 additions and 18 deletions
|
|
@ -168,9 +168,7 @@ def configure(env):
|
|||
|
||||
env.Append(CPPFLAGS=["-isystem", sysroot + "/usr/include"])
|
||||
env.Append(CPPFLAGS=string.split(
|
||||
'-Wno-invalid-command-line-argument -Wno-unused-command-line-argument'))
|
||||
env.Append(CPPFLAGS=string.split(
|
||||
'-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -fvisibility=hidden -fno-strict-aliasing -Wa,--noexecstack'))
|
||||
'-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -fvisibility=hidden -fno-strict-aliasing'))
|
||||
env.Append(CPPFLAGS=string.split('-DANDROID -DNO_STATVFS -DGLES2_ENABLED'))
|
||||
|
||||
env['neon_enabled'] = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue