diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-11-09 09:16:32 -0200 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-11-09 09:16:32 -0200 |
commit | 72d5c2b8caa7416ca2c8e66cddf14f65167cc6c1 (patch) | |
tree | 3345d803f6534d579c55ddd7a555977ca49eae2a | |
parent | fc676fa6f8de6b0b24cf54ecfa3f9221c607095c (diff) | |
parent | ab0974448bacd736534e7027448fe8f8ebdc4b92 (diff) |
Merge pull request #870 from Gerold31/fix-32bit-linux
Fix compilation error on 32-bit linux
-rw-r--r-- | platform/x11/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 03de91fa2f..1c8d231d4a 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -123,7 +123,7 @@ def configure(env): if (is64 and env["bits"]=="32"): env.Append(CPPFLAGS=['-m32']) env.Append(LINKFLAGS=['-m32','-L/usr/lib/i386-linux-gnu']) - elif (not is64 and env["bits"]=="32"): + elif (not is64 and env["bits"]=="64"): env.Append(CPPFLAGS=['-m64']) env.Append(LINKFLAGS=['-m64','-L/usr/lib/i686-linux-gnu']) |