浏览代码

Merge pull request #870 from Gerold31/fix-32bit-linux

Fix compilation error on 32-bit linux
Juan Linietsky 11 年之前
父节点
当前提交
72d5c2b8ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/x11/detect.py

+ 1 - 1
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'])