mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
eglibc: fix *flags filter
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e70a4ecd6e
commit
733fd08856
@ -26,13 +26,13 @@ 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 *FLAGS
|
# Filter out some problematic *FLAGS
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||g"`
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O2|"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O2|g"`
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-O2|"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-O2|g"`
|
||||||
|
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-ffast-math||"`
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-ffast-math||g"`
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Ofast|-O2|"`
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Ofast|-O2|g"`
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-O.|-O2|"`
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-O.|-O2|g"`
|
||||||
|
|
||||||
# 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