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