remove workaround for boost less than 1.46 since 1.47 is now the min needed - refs #1082
This commit is contained in:
parent
587a1c1bff
commit
777e067770
4 changed files with 0 additions and 35 deletions
|
@ -48,13 +48,6 @@ if env['RUNTIME_LINK'] == 'static':
|
|||
plugin_env.Append(LIBS=env['PLUGINS']['ogr']['lib'])
|
||||
libraries = copy(plugin_env['LIBS'])
|
||||
|
||||
if env.get('BOOST_LIB_VERSION_FROM_HEADER'):
|
||||
boost_version_from_header = int(env['BOOST_LIB_VERSION_FROM_HEADER'].split('_')[1])
|
||||
if boost_version_from_header < 46:
|
||||
# avoid ubuntu issue with boost interprocess:
|
||||
# https://github.com/mapnik/mapnik/issues/1082
|
||||
cxxflags.append('-fpermissive')
|
||||
|
||||
plugin_env.Append(CXXFLAGS=cxxflags)
|
||||
|
||||
if env['PLUGIN_LINKING'] == 'shared':
|
||||
|
|
|
@ -45,13 +45,6 @@ libraries.append('boost_system%s' % env['BOOST_APPEND'])
|
|||
cppdefines = []
|
||||
cxxflags = []
|
||||
|
||||
if env.get('BOOST_LIB_VERSION_FROM_HEADER'):
|
||||
boost_version_from_header = int(env['BOOST_LIB_VERSION_FROM_HEADER'].split('_')[1])
|
||||
if boost_version_from_header < 46:
|
||||
# avoid ubuntu issue with boost interprocess:
|
||||
# https://github.com/mapnik/mapnik/issues/1082
|
||||
cxxflags.append('-fpermissive')
|
||||
|
||||
plugin_env.Append(CXXFLAGS=cxxflags)
|
||||
plugin_env.Append(CPPDEFINES=cppdefines)
|
||||
|
||||
|
|
14
src/build.py
14
src/build.py
|
@ -362,20 +362,6 @@ if env['SVG_RENDERER']: # svg backend
|
|||
lib_env.Append(CPPDEFINES = '-DSVG_RENDERER')
|
||||
libmapnik_defines.append('-DSVG_RENDERER')
|
||||
|
||||
if env.get('BOOST_LIB_VERSION_FROM_HEADER'):
|
||||
boost_version_from_header = int(env['BOOST_LIB_VERSION_FROM_HEADER'].split('_')[1])
|
||||
if boost_version_from_header < 46:
|
||||
# avoid ubuntu issue with boost interprocess:
|
||||
# https://github.com/mapnik/mapnik/issues/1001
|
||||
env4 = lib_env.Clone()
|
||||
env4.Append(CXXFLAGS = '-fpermissive')
|
||||
cpp ='mapped_memory_cache.cpp'
|
||||
source.remove(cpp)
|
||||
if env['LINKING'] == 'static':
|
||||
source.insert(0,env4.StaticObject(cpp))
|
||||
else:
|
||||
source.insert(0,env4.SharedObject(cpp))
|
||||
|
||||
if env['XMLPARSER'] == 'libxml2' and env['HAS_LIBXML2']:
|
||||
source += Split(
|
||||
"""
|
||||
|
|
|
@ -45,13 +45,6 @@ if env['RUNTIME_LINK'] == 'static':
|
|||
if env['PLATFORM'] == 'Linux':
|
||||
libraries.append('dl')
|
||||
|
||||
if env.get('BOOST_LIB_VERSION_FROM_HEADER'):
|
||||
boost_version_from_header = int(env['BOOST_LIB_VERSION_FROM_HEADER'].split('_')[1])
|
||||
if boost_version_from_header < 46:
|
||||
# avoid ubuntu issue with boost interprocess:
|
||||
# https://github.com/mapnik/mapnik/issues/1082
|
||||
program_env.Append(CXXFLAGS = '-fpermissive')
|
||||
|
||||
shapeindex = program_env.Program('shapeindex', source, CPPPATH=headers, LIBS=libraries)
|
||||
|
||||
Depends(shapeindex, env.subst('../../src/%s' % env['MAPNIK_LIB_NAME']))
|
||||
|
|
Loading…
Reference in a new issue