From ab0974448bacd736534e7027448fe8f8ebdc4b92 Mon Sep 17 00:00:00 2001 From: Gerold31 Date: Sun, 9 Nov 2014 10:09:41 +0100 Subject: Fix compilation error on 32-bit linux --- platform/x11/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) -- cgit v1.2.3