]> git.pld-linux.org Git - packages/attr.git/commitdiff
- pass rpmldflags
authorsparky <sparky@pld-linux.org>
Sun, 30 Jul 2006 16:39:52 +0000 (16:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    attr.spec -> 1.75

attr.spec

index 1686899ff23bfb8aa4d351ca4c0e2a6e3fb9341e..b344e0da02ef7a7011f203af49577b72fbe6701e 100644 (file)
--- a/attr.spec
+++ b/attr.spec
@@ -59,6 +59,7 @@ Biblioteki statyczne do korzystania z rozszerzonych atrybut
 %setup -q
 %patch0 -p1
 %patch1 -p1
+sed -e '/LTLDFLAGS/s/$/ $(LLDFLAGS)/' -i libattr/Makefile
 
 %build
 rm -f aclocal.m4
@@ -68,7 +69,8 @@ rm -f aclocal.m4
        DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
        OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT"
 
-%{__make}
+%{__make} \
+       LLDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.062555 seconds and 4 git commands to generate.