Fix compilation error on 32-bit linux

This commit is contained in:
Gerold31 2014-11-09 10:09:41 +01:00
parent fc676fa6f8
commit ab0974448b

View File

@ -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'])