mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +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.
|
strip_gold # Fails to compile using the gold linker.
|
||||||
|
|
||||||
# Filter out some problematic CFLAGS
|
# 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
|
# set some CFLAGS we need
|
||||||
CFLAGS="$CFLAGS -g -fno-stack-protector"
|
CFLAGS="$CFLAGS -g -fno-stack-protector"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user