mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
eglibc: force building with -O2, thanks to TheUni
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
94dcbc4b25
commit
4c3569f108
@ -6,7 +6,7 @@ strip_lto # Fails to compile with GCC's link time optimization.
|
||||
strip_gold # Fails to compile using the gold linker.
|
||||
|
||||
# Filter out some problematic CFLAGS
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"` # -e "s|-O.|-O3|"
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||" -e "s|-O.|-O2|"`
|
||||
|
||||
# set some CFLAGS we need
|
||||
CFLAGS="$CFLAGS -g -fno-stack-protector"
|
||||
|
Loading…
x
Reference in New Issue
Block a user