samba: link with -fwhole-program

samba_multicall before: 9.6M after: 3.3M. 290% size win
This commit is contained in:
Stephan Raue 2014-08-24 23:30:03 +03:00
parent 4701277f4a
commit 19da4f398e

View File

@ -120,6 +120,7 @@ pre_configure_target() {
)
CFLAGS="$CFLAGS -fPIC -DPIC"
LDFLAGS="$LDFLAGS -fwhole-program"
}
make_target() {