packages: mongodb/mongodb.spec - attempt to fix linking of mongod

baggins baggins at pld-linux.org
Thu Dec 1 11:11:17 CET 2011


Author: baggins                      Date: Thu Dec  1 10:11:17 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- attempt to fix linking of mongod

---- Files affected:
packages/mongodb:
   mongodb.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/mongodb/mongodb.spec
diff -u packages/mongodb/mongodb.spec:1.17 packages/mongodb/mongodb.spec:1.18
--- packages/mongodb/mongodb.spec:1.17	Mon Nov  7 18:48:21 2011
+++ packages/mongodb/mongodb.spec	Thu Dec  1 11:11:12 2011
@@ -141,6 +141,7 @@
 %{__rm} -r third_party/{js-1.7,pcre-7.4,snappy,*.py}
 
 %build
+export LDFLAGS="%{rpmldflags} =-fuse-ld=bfd"
 %scons \
 	--prefix=$RPM_BUILD_ROOT%{_prefix} \
 	--sharedclient \
@@ -155,6 +156,7 @@
 	$RPM_BUILD_ROOT%{_var}/{lib,log}/mongo
 
 # XXX: scons is so great, recompiles everything here!
+export LDFLAGS="%{rpmldflags} =-fuse-ld=bfd"
 %scons install \
 	--prefix=$RPM_BUILD_ROOT%{_prefix} \
 	--sharedclient \
@@ -252,6 +254,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2011/12/01 10:11:12  baggins
+- attempt to fix linking of mongod
+
 Revision 1.17  2011/11/07 17:48:21  qboosh
 - updated to 2.0.1 (1.8.x left on MONGODB_1_8 branch)
 - updated config patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mongodb/mongodb.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list