summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-06-30 10:43:57 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-06-30 10:43:57 +0100
commit0edb40cb69124722691011b0db1c8b7376217728 (patch)
treea3e803d692d7cd238947f7c358e7bb10a6ebd1dc /scons/gallium.py
parenta9cb01f35597797a83ac940b0230a8f74f99a1b8 (diff)
scons: Make declaration-after-statement and pointer-arith just warnings.
Necessary, in order to build the whole tree.
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-xscons/gallium.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 9d08efdd10..bde1a3c6df 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: