mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
polkit:
- update link time optimization hack
This commit is contained in:
parent
5927d04ba0
commit
99e48e7f79
@ -11,10 +11,9 @@ $SCRIPTS/build eggdbus
|
|||||||
$SCRIPTS/build expat
|
$SCRIPTS/build expat
|
||||||
$SCRIPTS/build Linux-PAM
|
$SCRIPTS/build Linux-PAM
|
||||||
|
|
||||||
# polkit fails to compile with GCC 4.5.0's link time optimization.
|
# Fails to compile with GCC's link time optimization.
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user