about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSushiTee <weichel.sascha@xxxx.xx>2010-11-29 16:12:53 +0100
committeroy <Tom_Adams@web.de>2010-12-11 20:37:35 +0100
commit5c7d523fe4f246deaa809b946954fe9bd0398b5e (patch)
tree6622767a8ad6494eb0849e2991359782d221daec
parentf3c411f730f8e182b2d715401e4d548785cc3903 (diff)
downloadzcatch-5c7d523fe4f246deaa809b946954fe9bd0398b5e.tar.gz
zcatch-5c7d523fe4f246deaa809b946954fe9bd0398b5e.zip
droping mac 10.4 compatibility and fixed compatibility to 10.5 when compiling in 10.6 (fixed #274)
-rw-r--r--bam.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/bam.lua b/bam.lua
index f1df62fa..fad3b910 100644
--- a/bam.lua
+++ b/bam.lua
@@ -134,8 +134,8 @@ function build(settings)
 	else
 		settings.cc.flags:Add("-Wall", "-fno-exceptions")
 		if platform == "macosx" then
-			settings.cc.flags:Add("-mmacosx-version-min=10.4", "-isysroot /Developer/SDKs/MacOSX10.4u.sdk")
-			settings.link.flags:Add("-mmacosx-version-min=10.4", "-isysroot /Developer/SDKs/MacOSX10.4u.sdk")
+			settings.cc.flags:Add("-mmacosx-version-min=10.5", "-isysroot /Developer/SDKs/MacOSX10.5.sdk", "-arch i386")
+			settings.link.flags:Add("-mmacosx-version-min=10.5", "-isysroot /Developer/SDKs/MacOSX10.5.sdk", "-arch i386")
 		elseif config.stackprotector.value == 1 then
 			settings.cc.flags:Add("-fstack-protector", "-fstack-protector-all")
 			settings.link.flags:Add("-fstack-protector", "-fstack-protector-all")