Skip to content

Commit

Permalink
Always use -fPIC, refs #2861, closes #2867
Browse files Browse the repository at this point in the history
  • Loading branch information
flippmoke committed May 26, 2015
1 parent e027204 commit 3492d06
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions deps/agg/build.py
Expand Up @@ -24,6 +24,5 @@

Import('env')
lib_env = env.Clone()
if 'g++' in env['CXX'] or 'c++' in env['CXX']:
lib_env.Append(CXXFLAGS='-fPIC')
lib_env.Append(CXXFLAGS='-fPIC')
lib_env.StaticLibrary('agg', glob('./src/' + '*.cpp'), LIBS=[])
3 changes: 1 addition & 2 deletions deps/clipper/build.py
Expand Up @@ -22,6 +22,5 @@

Import('env')
lib_env = env.Clone()
if 'g++' in env['CXX'] or 'c++' in env['CXX']:
lib_env.Append(CXXFLAGS='-fPIC')
lib_env.Append(CXXFLAGS='-fPIC')
lib_env.StaticLibrary('clipper', ['./src/clipper.cpp',], LIBS=[])
3 changes: 1 addition & 2 deletions src/json/build.py
Expand Up @@ -24,8 +24,7 @@

Import('env')
lib_env = env.Clone()
if 'g++' in env['CXX'] or 'c++' in env['CXX']:
lib_env.Append(CXXFLAGS='-fPIC')
lib_env.Append(CXXFLAGS='-fPIC')

name = "mapnik-json"
lib = lib_env.StaticLibrary(name, glob('./' + '*.cpp'), LIBS=[])
Expand Down
3 changes: 1 addition & 2 deletions src/wkt/build.py
Expand Up @@ -24,8 +24,7 @@

Import('env')
lib_env = env.Clone()
if 'g++' in env['CXX'] or 'c++' in env['CXX']:
lib_env.Append(CXXFLAGS='-fPIC')
lib_env.Append(CXXFLAGS='-fPIC')

name = "mapnik-wkt"
lib = lib_env.StaticLibrary(name, glob('./' + '*.cpp'), LIBS=[])
Expand Down
2 changes: 1 addition & 1 deletion test/data-visual
Submodule data-visual updated 602 files

0 comments on commit 3492d06

Please sign in to comment.