-fvisibility=hidden works with plugins with no code changes - refs #1826

This commit is contained in:
Dane Springmeyer 2013-05-09 17:28:04 -07:00
parent 7c4adea08e
commit ac5cd2e386

View file

@ -1712,8 +1712,8 @@ if not HELP_REQUESTED:
Export('env')
plugin_base = env.Clone()
#plugin_base.Append(CXXFLAGS='-fvisibility=hidden')
#plugin_base.Append(CXXFLAGS='-fvisibility-inlines-hidden')
if not env['DEBUG']:
plugin_base.Append(CXXFLAGS='-fvisibility=hidden')
Export('plugin_base')