mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
irserver:
- remove link time optimization hack (not more needed)
This commit is contained in:
parent
41b7a86e59
commit
977a99cf61
@ -4,15 +4,10 @@
|
|||||||
|
|
||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
# irserver fails to compile with GCC 4.5.0's link time optimization.
|
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
|
||||||
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||" -e "s|-fwhole-program||"`
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
[ $TARGET_ARCH = i386 ] && make CC=$TARGET_CC irserver
|
[ $TARGET_ARCH = i386 ] && make CC=$TARGET_CC irserver
|
||||||
[ $TARGET_ARCH = x86_64 ] && make CC=$TARGET_CC irserver64
|
[ $TARGET_ARCH = x86_64 ] && make CC=$TARGET_CC irserver64
|
||||||
[ $TARGET_ARCH = arm ] && make CC=$TARGET_CC irserver_arm
|
[ $TARGET_ARCH = arm ] && make CC=$TARGET_CC irserver_arm
|
||||||
|
|
||||||
$STRIP $1*
|
$STRIP $1*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user