SPECS: attr.spec - pass rpmldflags

sparky sparky at pld-linux.org
Sun Jul 30 18:39:57 CEST 2006


Author: sparky                       Date: Sun Jul 30 16:39:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass rpmldflags

---- Files affected:
SPECS:
   attr.spec (1.74 -> 1.75) 

---- Diffs:

================================================================
Index: SPECS/attr.spec
diff -u SPECS/attr.spec:1.74 SPECS/attr.spec:1.75
--- SPECS/attr.spec:1.74	Thu Jun 22 09:39:39 2006
+++ SPECS/attr.spec	Sun Jul 30 18:39:52 2006
@@ -60,6 +60,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+sed -e '/LTLDFLAGS/s/$/ $(LLDFLAGS)/' -i libattr/Makefile
 
 %build
 rm -f aclocal.m4
@@ -69,7 +70,8 @@
 	DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
 	OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT"
 
-%{__make}
+%{__make} \
+	LLDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -135,6 +137,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.75  2006/07/30 16:39:52  sparky
+- pass rpmldflags
+
 Revision 1.74  2006/06/22 07:39:39  qboosh
 - removed obsolete pl.po-update patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/attr.spec?r1=1.74&r2=1.75&f=u



More information about the pld-cvs-commit mailing list