summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-03-25 08:36:00 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-03-26 21:58:37 +0200
commitd8f32637be9f9eae9fddfe4d664e369cbf3b65c3 (patch)
treed467f8bab2c09af03c16ec28de02974f868e7079 /platform/x11
parenta0b0dff6fdbdc4be78087aa572f3da5dbb8daa01 (diff)
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)
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index 89cf639114..34306c8d0f 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -133,7 +133,7 @@ def configure(env):
elif (env["target"] == "debug"):
- env.Prepend(CCFLAGS=['-g2', '-Wall', '-DDEBUG_ENABLED', '-DDEBUG_MEMORY_ENABLED'])
+ env.Prepend(CCFLAGS=['-g2', '-DDEBUG_ENABLED', '-DDEBUG_MEMORY_ENABLED'])
env.ParseConfig('pkg-config x11 --cflags --libs')
env.ParseConfig('pkg-config xinerama --cflags --libs')
@@ -227,7 +227,7 @@ def configure(env):
env.Append(LIBS=['dl'])
# env.Append(CPPFLAGS=['-DMPC_FIXED_POINT'])
-# host compiler is default..
+ # host compiler is default..
if (is64 and env["bits"] == "32"):
env.Append(CPPFLAGS=['-m32'])