mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
LVM2:
- remove link time optimization hack (not more needed)
This commit is contained in:
parent
0f13fd8c37
commit
b2497f9362
@ -4,11 +4,6 @@
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
# LVM2 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 $BUILD/$1*
|
||||
ac_cv_func_malloc_0_nonnull=yes \
|
||||
./configure --host=$TARGET_NAME \
|
||||
|
Loading…
x
Reference in New Issue
Block a user