From 93d204d99a7cb13db608aabf85d21caa65725f24 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 30 May 2010 22:41:13 +0200 Subject: [PATCH] lirc: - disable build with LTO support --- packages/sysutils/remote/lirc/build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/sysutils/remote/lirc/build b/packages/sysutils/remote/lirc/build index e95c8a4f44..6f29e43fbd 100755 --- a/packages/sysutils/remote/lirc/build +++ b/packages/sysutils/remote/lirc/build @@ -4,6 +4,11 @@ $SCRIPTS/build toolchain +# lirc 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||"` + if [ "$DEBUG" = yes ]; then DEBUG_CONFIG="--enable-debug" else