diff options
-rwxr-xr-x | scons/gallium.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 9d08efdd10c..bde1a3c6df7 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -437,10 +437,10 @@ def generate(env): ] if distutils.version.LooseVersion(ccversion) >= distutils.version.LooseVersion('4.2'): ccflags += [ - '-Werror=pointer-arith', + '-Wpointer-arith', ] cflags += [ - '-Werror=declaration-after-statement', + '-Wdeclaration-after-statement', ] if msvc: # See also: |