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 71d289edd2
commit ea36b00609

View File

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