[arch-dev-public] Stripping of static libraries by makepkg

Dicebot public at dicebot.lv
Sun Sep 15 15:42:14 EDT 2013


My default makepkg.conf looks like this:

```
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip'
for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip'
for details.
STRIP_STATIC="--strip-debug"
```

Is there any reasons why static libraries have "--strip-debug" instead
of "--strip-unneeded"? I have noticed that because compiler package I
maintain in [community] has produced bloated executables because of
static linking with only partially stripped standard library. Are there
any dangerous consequences from switching to "--string-unneeded"?


More information about the arch-dev-public mailing list