mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
config/functions: fix strip_lto(), fix strip_gold()
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8f9bb97e2f
commit
9369dc8822
@ -137,14 +137,14 @@ do_autoreconf() {
|
|||||||
|
|
||||||
strip_lto() {
|
strip_lto() {
|
||||||
# strip out LTO optimization from *FLAGS
|
# strip out LTO optimization from *FLAGS
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||"`
|
||||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||"`
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||"`
|
||||||
}
|
}
|
||||||
|
|
||||||
strip_gold() {
|
strip_gold() {
|
||||||
# strip out usage from GOLD linker
|
# strip out usage from GOLD linker
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||"`
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||" -e "s|-fuse-linker-plugin||"`
|
||||||
}
|
}
|
||||||
|
|
||||||
strip_linker_plugin() {
|
strip_linker_plugin() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user