From ff19d4e077983526436ff820988bd0b927aa2c89 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 7 Oct 2007 20:27:28 +0000 Subject: [PATCH] removed pedantic-errors on macosx --- default.bam | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/default.bam b/default.bam index decd4540e..0d7a43f51 100644 --- a/default.bam +++ b/default.bam @@ -188,7 +188,11 @@ function build(settings) if family == "windows" then engine_settings.cc.flags = "/wd4244" else - engine_settings.cc.flags = "-Wall -pedantic-errors" + if platform == "macosx" then + engine_settings.cc.flags = "-Wall" + else + engine_settings.cc.flags = "-Wall -pedantic-errors" + end engine_settings.linker.flags = "" end