wok-current rev 12653
freeglut, matchbox-desktop-2: add LDFLAGS for Binutils 2.22
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 30 10:01:30 2012 +0200 (2012-04-30) |
parents | b50cda93acd2 |
children | 08eee30bdf5f |
files | freeglut/receipt matchbox-desktop-2/receipt |
line diff
1.1 --- a/freeglut/receipt Mon Apr 30 09:47:26 2012 +0200 1.2 +++ b/freeglut/receipt Mon Apr 30 10:01:30 2012 +0200 1.3 @@ -18,6 +18,9 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + # Binutils 2.22 break many packages build without LDFLAGS set correctly. 1.8 + export LDFLAGS="-Wl,--copy-dt-needed-entries" 1.9 + 1.10 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi 1.11 1.12 cd $src
2.1 --- a/matchbox-desktop-2/receipt Mon Apr 30 09:47:26 2012 +0200 2.2 +++ b/matchbox-desktop-2/receipt Mon Apr 30 10:01:30 2012 +0200 2.3 @@ -16,6 +16,9 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 + # Binutils 2.22 break many packages build without LDFLAGS set correctly. 2.8 + export LDFLAGS="-Wl,--copy-dt-needed-entries" 2.9 + 2.10 cd $src 2.11 ./configure \ 2.12 --disable-startup-notification \