scons: fix g++ detection logic on OS X
This commit is contained in:
parent
15ff3dcec4
commit
e4f2c4e94d
1 changed files with 1 additions and 1 deletions
|
@ -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']:
|
||||
|
|
Loading…
Reference in a new issue