mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
xorg-server:
- disable LTO support
This commit is contained in:
parent
6c41f414ea
commit
e11a603777
@ -30,9 +30,10 @@ $SCRIPTS/build pixman
|
||||
$SCRIPTS/build fontsproto
|
||||
$SCRIPTS/build udev
|
||||
|
||||
# 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||"`
|
||||
# Fails to compile with GCC's link time optimization.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||
|
||||
if [ "$XINERAMA_SUPPORT" = "yes" ]; then
|
||||
$SCRIPTS/build libXinerama
|
||||
|
Loading…
x
Reference in New Issue
Block a user