]> git.pld-linux.org Git - packages/ldb.git/commitdiff
- try to force ld.bfd in PATH/COMPILER_PATH. still gcc internally uses /usr/bin/ld :(
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 13 Oct 2011 07:44:26 +0000 (07:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ldb.spec -> 1.3

ldb.spec

index 30ee8a7f0ecc43373244dfb07f22e6da160c4e56..1761ea4c44157dffccbade117d69e85d532d3290 100644 (file)
--- a/ldb.spec
+++ b/ldb.spec
@@ -76,7 +76,13 @@ Development files for the Python bindings for the LDB library
 %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} \
This page took 0.052509 seconds and 4 git commands to generate.