mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
eglibc:
- use -Os as optimization for CFLAGS
This commit is contained in:
parent
69eff757f5
commit
3a0dbffaea
@ -7,7 +7,7 @@ $SCRIPTS/install gcc-core
|
||||
export BUILD_CC=$HOST_CC
|
||||
export OBJDUMP_FOR_HOST=objdump
|
||||
|
||||
CFLAGS="-O3 -fno-stack-protector"
|
||||
CFLAGS="-Os -fno-stack-protector"
|
||||
|
||||
# eglibc fails to compile with GCC 4.5.0's link time optimization.
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||" -e "s|-fuse-ld=gold||"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user