- use system optimization
- disable LTO support
This commit is contained in:
Stephan Raue 2010-06-05 08:27:01 +02:00
parent 5b04693940
commit 6c41f414ea

View File

@ -8,7 +8,9 @@ $SCRIPTS/build pciutils
$SCRIPTS/build usbutils
$SCRIPTS/build libusb-compat
export CFLAGS="-Os"
# Fails to compile with GCC's link time optimization (appears to be libtool related).
CFLAGS=`echo $CFLAGS | 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||"`
cd $PKG_BUILD
autoreconf