summaryrefslogtreecommitdiff
path: root/darwin.cf
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2010-08-17 10:30:51 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2010-08-17 10:30:51 -0700
commitde29e23f62d2c7deab4ace29d5897b36f5166076 (patch)
tree6145937136761945bac6487f241b01a16b33a6eb /darwin.cf
parentd43a6b81c76a51a3d29376c86183955e4490ada0 (diff)
Add support for darwin x86_64
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'darwin.cf')
-rw-r--r--darwin.cf11
1 files changed, 11 insertions, 0 deletions
diff --git a/darwin.cf b/darwin.cf
index ef064cd..dd4e673 100644
--- a/darwin.cf
+++ b/darwin.cf
@@ -230,6 +230,17 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define ByteOrder X_LITTLE_ENDIAN
#endif /* i386DarwinArchitecture */
+
+#ifdef x86_64DarwinArchitecture
+# define DarwinMachineDefines -D__x86_64__
+# if HasGcc3
+# define OptimizedCDebugFlags -Os
+# else
+# define OptimizedCDebugFlags -O2 -fno-strength-reduce
+# endif
+# define ByteOrder X_LITTLE_ENDIAN
+#endif /* x86_64DarwinArchitecture */
+
#if OSMajorVersion < 7
# define DarwinLocaleDefines -DX_LOCALE
#else