Browse Source

Only set -Wno-deprecated-register under macos

tags/v1.9.15
falkTX 4 years ago
parent
commit
5f4a57b8ce
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      wscript

+ 3
- 3
wscript View File

@@ -225,9 +225,6 @@ def configure(conf):
conf.env.append_unique('CXXFLAGS', '-Wall')
conf.env.append_unique('CXXFLAGS', '-std=gnu++11')

# TODO
conf.env.append_unique('CXXFLAGS', '-Wno-deprecated-register')

if not conf.env['IS_MACOSX']:
conf.env.append_unique('LDFLAGS', '-Wl,--no-undefined')
else:
@@ -249,6 +246,9 @@ def configure(conf):
define_name='HAVE_AFTEN_NEW_API',
mandatory=False)

# TODO
conf.env.append_unique('CXXFLAGS', '-Wno-deprecated-register')

conf.load('autooptions')

conf.recurse('compat')


Loading…
Cancel
Save