mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
samba: link with -fwhole-program
samba_multicall before: 9.6M after: 3.3M. 290% size win
This commit is contained in:
parent
71d289edd2
commit
ea36b00609
@ -120,6 +120,7 @@ pre_configure_target() {
|
||||
)
|
||||
|
||||
CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||
LDFLAGS="$LDFLAGS -fwhole-program"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user