mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
curl:
- dont use linker plugin (gcc bug 42453) - add librt to LDFLAGS
This commit is contained in:
parent
42ce946f76
commit
26bd8b6a92
@ -6,6 +6,13 @@ $SCRIPTS/build toolchain
|
||||
$SCRIPTS/build zlib
|
||||
$SCRIPTS/build openssl
|
||||
|
||||
# Suffers from bug 42453 <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42453>.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-fuse-linker-plugin||"`
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||"`
|
||||
|
||||
# link against librt because of undefined reference to 'clock_gettime'
|
||||
LDFLAGS="$LDFLAGS -lrt"
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
|
Loading…
x
Reference in New Issue
Block a user