Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


smaller libs #778

artemp opened this Issue · 3 comments

2 participants

Artem Pavlenko Dane Springmeyer
Artem Pavlenko

We should be more aggressive, or at least add the option to Scons, to allow for more aggressive size reduction of libraries using link stripping and symbol hiding flags like -Wl,-S,-x,-mark_dead_strippable_dylib,-dead_strip and compiler flags like -fvisibility-inlines-hidden -fno-common -fvisibility-hidden. On OSX this will require more usage of -undefined dynamic_lookup to avoid having to resolve all symbols at link time.

Dane Springmeyer

-flto -fvisibility-inlines-hidden -fno-common -fvisibility-hidden helps a lot but are not general purpose so not going to add them by default.

Dane Springmeyer springmeyer closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.