aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-05 15:01:15 +0200
committerDavid Robillard <d@drobilla.net>2020-07-05 18:47:39 +0200
commit80838668aea1b53cc4438a63bb9f0fcab80cd3f7 (patch)
tree07b6cb1c0273e508985a84e1795125558810cfa6
parent98f8d255a8aeece754dcda389aafb75572e8edb8 (diff)
Update autowaf
m---------waflib0
-rw-r--r--wscript13
2 files changed, 5 insertions, 8 deletions
diff --git a/waflib b/waflib
-Subproject 158a547ad7b9a01f991d2c378e17f704a99c658
+Subproject f773f9a6a1ace4e3ddda5db05db4fa49bd0173a
diff --git a/wscript b/wscript
index 7a6071f..2ae293d 100644
--- a/wscript
+++ b/wscript
@@ -65,7 +65,7 @@ def configure(conf):
if Options.options.ultra_strict:
# All warnings enabled by autowaf, disable some we trigger
- conf.add_compiler_flags('*', {
+ autowaf.add_compiler_flags(conf.env, '*', {
'clang': [
'-Wno-padded',
'-Wno-reserved-id-macro',
@@ -73,7 +73,6 @@ def configure(conf):
],
'gcc': [
'-Wno-padded',
- '-Wno-switch-default',
'-Wno-switch-enum',
],
'msvc': [
@@ -84,7 +83,7 @@ def configure(conf):
],
})
- conf.add_compiler_flags('c', {
+ autowaf.add_compiler_flags(conf.env, 'c', {
'clang': [
'-Wno-bad-function-cast',
'-Wno-float-equal',
@@ -102,10 +101,8 @@ def configure(conf):
],
})
- conf.add_compiler_flags('cxx', {
+ autowaf.add_compiler_flags(conf.env, 'cxx', {
'clang': [
- '-Wno-c++98-compat',
- '-Wno-c++98-compat-pedantic',
'-Wno-documentation-unknown-command',
'-Wno-old-style-cast',
],
@@ -124,14 +121,14 @@ def configure(conf):
# Add some platform-specific warning suppressions
if conf.env.TARGET_PLATFORM == "win32":
- conf.add_compiler_flags('*', {
+ autowaf.add_compiler_flags(conf.env, '*', {
'gcc': ['-Wno-cast-function-type',
'-Wno-conversion',
'-Wno-format',
'-Wno-suggest-attribute=format'],
})
elif conf.env.TARGET_PLATFORM == 'darwin':
- conf.add_compiler_flags('*', {
+ autowaf.add_compiler_flags(conf.env, '*', {
'clang': ['-DGL_SILENCE_DEPRECATION',
'-Wno-deprecated-declarations',
'-Wno-direct-ivar-access'],