Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

smaller libs #778

Closed
artemp opened this Issue · 3 comments

2 participants

Artem Pavlenko Dane Springmeyer
Artem Pavlenko
Owner

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
Owner

-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.