wok-next rev 12652
codeblocks, compiz-core: add LDFLAGS for Binutils 2.22
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 30 09:47:26 2012 +0200 (2012-04-30) |
parents | 4c6b6a900860 |
children | 053c9ea7763c |
files | codeblocks/receipt compiz-core/receipt |
line diff
1.1 --- a/codeblocks/receipt Mon Apr 30 09:38:21 2012 +0200 1.2 +++ b/codeblocks/receipt Mon Apr 30 09:47:26 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 busybox patch -p1 -i $stuff/glib.u 1.12 ./configure \
2.1 --- a/compiz-core/receipt Mon Apr 30 09:38:21 2012 +0200 2.2 +++ b/compiz-core/receipt Mon Apr 30 09:47:26 2012 +0200 2.3 @@ -18,6 +18,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 mkdir build && cd build 2.12 cmake \