mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
eglibc:
- dont build with gold linker
This commit is contained in:
parent
8c35e570ce
commit
42ce946f76
@ -10,7 +10,7 @@ export OBJDUMP_FOR_HOST=objdump
|
||||
CFLAGS="-O3 -fno-stack-protector"
|
||||
|
||||
# eglibc fails to compile with GCC 4.5.0's link time optimization.
|
||||
LDFLAGS=`echo $LDFLAGS | 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||" -e "s|-fuse-ld=gold||"`
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
DEBUG_CONFIG="--enable-debug"
|
||||
|
@ -11,7 +11,7 @@ if [ "$2" = toolchain ]; then
|
||||
cd $PKG_BUILD/objdir-$1
|
||||
|
||||
# eglibc fails to compile with GCC 4.5.0's link time optimization.
|
||||
LDFLAGS=`echo $LDFLAGS | 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||" -e "s|-fuse-ld=gold||"`
|
||||
|
||||
cat >configparms <<EOF
|
||||
install_root=$SYSROOT_PREFIX
|
||||
|
Loading…
x
Reference in New Issue
Block a user