mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Python: dont use --as-needed in LDFLAGS because of linking problems with expat
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8869861176
commit
28144a8c71
@ -39,12 +39,17 @@ mkdir -p .objdir-target && cd .objdir-target
|
||||
|
||||
setup_toolchain target
|
||||
|
||||
# dont use some optimizations because of problems
|
||||
# this fixes problems with expat (maybe)
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
||||
|
||||
ac_cv_file_dev_ptc=no \
|
||||
ac_cv_file_dev_ptmx=yes \
|
||||
ac_cv_func_lchflags_works=no \
|
||||
ac_cv_func_chflags_works=no \
|
||||
ac_cv_func_printf_zd=yes
|
||||
OPT="$TARGET_CFLAGS -fno-strict-aliasing" \
|
||||
LDFLAGS="$LDFLAGS -lexpat" \
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--cache-file=config.cache \
|
||||
|
Loading…
x
Reference in New Issue
Block a user