- avoid using -rdynamic on compilers different than gcc
This commit is contained in:
parent
be7fbbd205
commit
c31d4b69a1
1 changed files with 1 additions and 1 deletions
|
@ -1432,7 +1432,7 @@ if not preconfigured:
|
||||||
|
|
||||||
# Add rdynamic to allow using statics between application and plugins
|
# Add rdynamic to allow using statics between application and plugins
|
||||||
# http://stackoverflow.com/questions/8623657/multiple-instances-of-singleton-across-shared-libraries-on-linux
|
# http://stackoverflow.com/questions/8623657/multiple-instances-of-singleton-across-shared-libraries-on-linux
|
||||||
if env['PLATFORM'] != 'Darwin':
|
if env['PLATFORM'] != 'Darwin' and env['CXX'] == 'g++':
|
||||||
env.MergeFlags('-rdynamic')
|
env.MergeFlags('-rdynamic')
|
||||||
|
|
||||||
# Customizing the C++ compiler flags depending on:
|
# Customizing the C++ compiler flags depending on:
|
||||||
|
|
Loading…
Reference in a new issue