mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
scons: fix g++ detection logic on OS X
This commit is contained in:
parent
15ff3dcec4
commit
e4f2c4e94d
@ -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…
x
Reference in New Issue
Block a user