fix compiling problems

This commit is contained in:
jacob1
2014-07-06 11:31:40 -04:00
parent 89eb6bbd03
commit 8f2a0d3eb3
2 changed files with 5 additions and 2 deletions

View File

@@ -339,7 +339,7 @@ elif not GetOption('help'):
conf.AddTest('CheckBit', CheckBit)
if not conf.CheckCC() or not conf.CheckCXX():
FatalError("compiler not correctly configured")
if isX86 and not GetOption('32bit') and not GetOption('64bit'):
if platform == compilePlatform and isX86 and not GetOption('32bit') and not GetOption('64bit'):
conf.CheckBit()
findLibs(env, conf)
env = conf.Finish()