xorg-server:

- remove link time optimization hack (not more needed)
This commit is contained in:
Stephan Raue 2010-06-14 01:29:24 +02:00
parent 1b002904a1
commit 14526b1a91

View File

@ -32,11 +32,6 @@ $SCRIPTS/build pixman
$SCRIPTS/build fontsproto
$SCRIPTS/build udev
# 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
XORG_XINERAMA="--enable-xinerama"