mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
eglibc: force build with -O2 optimization
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
797878f553
commit
67fb5a945f
@ -27,6 +27,7 @@ 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||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"`
|
||||||
|
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O2|"`
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-O2|"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-O2|"`
|
||||||
|
|
||||||
# set some CFLAGS we need
|
# set some CFLAGS we need
|
||||||
|
Loading…
x
Reference in New Issue
Block a user