Commit d6e0125c authored by Laurent Belcour's avatar Laurent Belcour
Browse files

Adding a trace of -fPIC option

parent aae6e9d2
......@@ -44,7 +44,8 @@ if sys.platform == 'darwin':
## COMPILER dependant section
##
if env['CC'] in ['gcc', 'g++', 'clang']:
if env['CC'] in ['gcc', 'clang'] or env['CXX'] in ['g++', 'clang']:
print '<<INFO>> add -fPIC option to the compiler'
env.AppendUnique(CCFLAGS = '-fPIC')
#end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment