packages: libldb/libldb.spec - try to force ld.bfd in PATH/COMPILER_PATH. s...
glen
glen at pld-linux.org
Thu Oct 13 09:44:31 CEST 2011
Author: glen Date: Thu Oct 13 07:44:31 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- try to force ld.bfd in PATH/COMPILER_PATH. still gcc internally uses /usr/bin/ld :(
---- Files affected:
packages/libldb:
libldb.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/libldb/libldb.spec
diff -u packages/libldb/libldb.spec:1.2 packages/libldb/libldb.spec:1.3
--- packages/libldb/libldb.spec:1.2 Sat Oct 1 23:23:19 2011
+++ packages/libldb/libldb.spec Thu Oct 13 09:44:26 2011
@@ -77,7 +77,13 @@
%patch0 -p1
%build
+# use ld.bfd
+install -d $(pwd)/ld-bin
+ln -s %{_bindir}/ld.bfd $(pwd)/ld-bin/ld
+
# note: configure in fact is waf call
+PATH=$(pwd)/ld-bin:$PATH \
+COMPILER_PATH=$(pwd)/ld-bin \
CC="%{__cc}" \
CFLAGS="%{rpmcflags}" \
PYTHONDIR=%{py_sitedir} \
@@ -167,6 +173,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2011/10/13 07:44:26 glen
+- try to force ld.bfd in PATH/COMPILER_PATH. still gcc internally uses /usr/bin/ld :(
+
Revision 1.2 2011/10/01 21:23:19 glen
- workaround for ! not understood in version script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libldb/libldb.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list