mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
eglibc: pass -O2 if build with size optimization
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1801678c23
commit
196050fb08
@ -14,7 +14,7 @@ $SCRIPTS/build gcc-core
|
||||
|
||||
# Filter out some problematic CFLAGS
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"`
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O3|"`
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O2|"`
|
||||
|
||||
# set some CFLAGS we need
|
||||
CFLAGS="$CFLAGS -g -fno-stack-protector"
|
||||
|
Loading…
x
Reference in New Issue
Block a user