From 39508e56882d8c5c3cc9135e44172d7ce048c839 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 13 Jun 2010 22:17:05 +0200 Subject: [PATCH] dbus-python: - update link time optimization hack --- packages/python/system/dbus-python/build | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/python/system/dbus-python/build b/packages/python/system/dbus-python/build index 9fbeacb242..849754b88f 100755 --- a/packages/python/system/dbus-python/build +++ b/packages/python/system/dbus-python/build @@ -9,10 +9,9 @@ $SCRIPTS/build dbus-glib . config/options.python -# dbus-python 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||"` +# Fails to compile with GCC's link time optimization. + CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"` + LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"` cd $PKG_BUILD