mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
eglibc: filter out some problematic LDFLAGS too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8790197a40
commit
22b9f920d4
@ -25,11 +25,15 @@
|
|||||||
strip_lto # Fails to compile with GCC's link time optimization.
|
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 *FLAGS
|
||||||
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|-Ofast|-O2|"`
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-O2|"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-O2|"`
|
||||||
|
|
||||||
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-ffast-math||"`
|
||||||
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Ofast|-O2|"`
|
||||||
|
LDFLAGS=`echo $LDFLAGS | sed -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