From 36d272b4a3f46128fc66ed8857b61af77daaaddc Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 30 May 2010 22:39:08 +0200 Subject: [PATCH] dbus-python: - disable build with LTO support --- packages/python/system/dbus-python/build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/python/system/dbus-python/build b/packages/python/system/dbus-python/build index 695c4f4be1..9fbeacb242 100755 --- a/packages/python/system/dbus-python/build +++ b/packages/python/system/dbus-python/build @@ -9,6 +9,11 @@ $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||"` + cd $PKG_BUILD ./configure --host=$TARGET_NAME \