about summary refs log tree commit diff
path: root/default.bam
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-22 19:51:07 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-22 19:51:07 +0000
commiteb24d91215d8d0d93d2dd89c82dac8bdb4c5d679 (patch)
tree804e430565a79f9358c9e9a34f8ee8849fe2e24f /default.bam
parent3fbdaaa11e5f47e616da0f8ae31fb0803c6afc9a (diff)
downloadzcatch-eb24d91215d8d0d93d2dd89c82dac8bdb4c5d679.tar.gz
zcatch-eb24d91215d8d0d93d2dd89c82dac8bdb4c5d679.zip
fixed compile bug on osx 10.4
Diffstat (limited to 'default.bam')
-rw-r--r--default.bam6
1 files changed, 5 insertions, 1 deletions
diff --git a/default.bam b/default.bam
index e6f1ddc0..acafb108 100644
--- a/default.bam
+++ b/default.bam
@@ -204,7 +204,11 @@ function build(settings)
 	if family == "windows" then
 		settings.cc.flags = "/wd4244"
 	else
-		settings.cc.flags = "-Wall -fstack-protector -fstack-protector-all -fno-exceptions"
+		if platform == "macosx" then
+			settings.cc.flags = "-Wall -fno-exceptions"
+		else
+			settings.cc.flags = "-Wall -fstack-protector -fstack-protector-all -fno-exceptions"
+		end
 		settings.linker.flags = ""
 	end