wok rev 12654
nitrogen, opencpn, pcmanfm2: add LDFLAGS for Binutils 2.22
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 30 10:06:51 2012 +0200 (2012-04-30) |
parents | 053c9ea7763c |
children | e2cc0a6e47fe |
files | nitrogen/receipt opencpn/receipt pcmanfm2/receipt |
line diff
1.1 --- a/nitrogen/receipt Mon Apr 30 10:01:30 2012 +0200 1.2 +++ b/nitrogen/receipt Mon Apr 30 10:06:51 2012 +0200 1.3 @@ -15,6 +15,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 cd $src 1.11 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched 1.12 mv src/Thumbview.cc.patched src/Thumbview.cc
2.1 --- a/opencpn/receipt Mon Apr 30 10:01:30 2012 +0200 2.2 +++ b/opencpn/receipt Mon Apr 30 10:06:51 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 busybox patch -p0 -i $stuff/glib.u 2.12 ./configure \
3.1 --- a/pcmanfm2/receipt Mon Apr 30 10:01:30 2012 +0200 3.2 +++ b/pcmanfm2/receipt Mon Apr 30 10:06:51 2012 +0200 3.3 @@ -19,6 +19,9 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 + # Binutils 2.22 break many packages build without LDFLAGS set correctly. 3.8 + export LDFLAGS="-Wl,--copy-dt-needed-entries" 3.9 + 3.10 cd $src 3.11 ./configure $CONFIGURE_ARGS && 3.12 make && make install