diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-22 19:51:07 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-22 19:51:07 +0000 |
| commit | eb24d91215d8d0d93d2dd89c82dac8bdb4c5d679 (patch) | |
| tree | 804e430565a79f9358c9e9a34f8ee8849fe2e24f /default.bam | |
| parent | 3fbdaaa11e5f47e616da0f8ae31fb0803c6afc9a (diff) | |
| download | zcatch-eb24d91215d8d0d93d2dd89c82dac8bdb4c5d679.tar.gz zcatch-eb24d91215d8d0d93d2dd89c82dac8bdb4c5d679.zip | |
fixed compile bug on osx 10.4
Diffstat (limited to 'default.bam')
| -rw-r--r-- | default.bam | 6 |
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 |