mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Python:
- disable build with LTO support
This commit is contained in:
parent
012ab2eafd
commit
c87b0f833f
@ -40,11 +40,16 @@ make distclean
|
|||||||
|
|
||||||
setup_toolchain target
|
setup_toolchain target
|
||||||
|
|
||||||
|
# Python 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||"`
|
||||||
|
|
||||||
ac_cv_file__dev_ptmx=no \
|
ac_cv_file__dev_ptmx=no \
|
||||||
ac_cv_file__dev_ptc=no \
|
ac_cv_file__dev_ptc=no \
|
||||||
ac_cv_lib_readline_readline=no \
|
ac_cv_lib_readline_readline=no \
|
||||||
ac_cv_printf_zd_format=no \
|
ac_cv_printf_zd_format=no \
|
||||||
OPT="$TARGET_CFLAGS -fno-strict-aliasing" \
|
OPT="$CFLAGS -fno-strict-aliasing" \
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user