summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-11-19 18:00:59 -0600
committerAli Saidi <Ali.Saidi@ARM.com>2010-11-19 18:00:59 -0600
commit5c6f4a0f17f1f74bf913ce49f14517084949b8ed (patch)
tree054588ea6cd6f573c1a0d9c2e72999ad2dc82a98 /SConstruct
parente1b9a815dd34b8c2ff9db1225d3553eab287ba1b (diff)
downloadgem5-5c6f4a0f17f1f74bf913ce49f14517084949b8ed.tar.xz
SCons: Fix compilation on OS X
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 4 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index c3b5b7b35..817e7b921 100644
--- a/SConstruct
+++ b/SConstruct
@@ -533,10 +533,10 @@ try:
uname = platform.uname()
if uname[0] == 'Darwin' and compareVersions(uname[2], '9.0.0') >= 0:
if int(readCommand('sysctl -n hw.cpu64bit_capable')[0]):
- main.Append(CCFLAGS=['-arch x86_64'])
- main.Append(CFLAGS=['-arch x86_64'])
- main.Append(LINKFLAGS=['-arch x86_64'])
- main.Append(ASFLAGS=['-arch x86_64'])
+ main.Append(CCFLAGS=['-arch', 'x86_64'])
+ main.Append(CFLAGS=['-arch', 'x86_64'])
+ main.Append(LINKFLAGS=['-arch', 'x86_64'])
+ main.Append(ASFLAGS=['-arch', 'x86_64'])
except:
pass