mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
lm_sensors:
- remove link time optimization hack (not more needed)
This commit is contained in:
parent
c16be703f6
commit
41b7a86e59
@ -4,13 +4,8 @@
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
# lm_sensors 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 $PKG_BUILD
|
||||
|
||||
make PREFIX=/usr CC=$TARGET_CC
|
||||
|
||||
$STRIP prog/sensors/sensors
|
||||
$STRIP prog/sensors/sensors
|
||||
|
Loading…
x
Reference in New Issue
Block a user