# HG changeset patch # User Pascal Bellard # Date 1335772890 -7200 # Node ID 053c9ea7763c27503287be2e06f48115fc86060d # Parent b50cda93acd21a6f777b4f28ecf24aae12fbb73f freeglut, matchbox-desktop-2: add LDFLAGS for Binutils 2.22 diff -r b50cda93acd2 -r 053c9ea7763c freeglut/receipt --- a/freeglut/receipt Mon Apr 30 09:47:26 2012 +0200 +++ b/freeglut/receipt Mon Apr 30 10:01:30 2012 +0200 @@ -18,6 +18,9 @@ # Rules to configure and make the package. compile_rules() { + # Binutils 2.22 break many packages build without LDFLAGS set correctly. + export LDFLAGS="-Wl,--copy-dt-needed-entries" + if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi cd $src diff -r b50cda93acd2 -r 053c9ea7763c matchbox-desktop-2/receipt --- a/matchbox-desktop-2/receipt Mon Apr 30 09:47:26 2012 +0200 +++ b/matchbox-desktop-2/receipt Mon Apr 30 10:01:30 2012 +0200 @@ -16,6 +16,9 @@ # Rules to configure and make the package. compile_rules() { + # Binutils 2.22 break many packages build without LDFLAGS set correctly. + export LDFLAGS="-Wl,--copy-dt-needed-entries" + cd $src ./configure \ --disable-startup-notification \