From e4f2c4e94d8caa290722afbae687b0d319ee27f7 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 13 May 2013 09:13:44 -0700 Subject: [PATCH] scons: fix g++ detection logic on OS X --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 5eeed2f11..f436535db 100644 --- a/SConstruct +++ b/SConstruct @@ -1601,7 +1601,7 @@ if not preconfigured: common_cxx_flags = '-ansi -Wall %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread) # https://github.com/mapnik/mapnik/issues/1835 - if sys.platform == 'darwin' and 'g++' in env['CXX']: + if sys.platform == 'darwin' and env['CXX'] == 'g++': common_cxx_flags += '-fpermissive ' if env['DEBUG']: