From eb24d91215d8d0d93d2dd89c82dac8bdb4c5d679 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 22 Mar 2008 19:51:07 +0000 Subject: fixed compile bug on osx 10.4 --- default.bam | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'default.bam') 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 -- cgit 1.4.1