]> git.pld-linux.org Git - packages/xfsprogs.git/commitdiff
- make build on ac
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 21 Oct 2009 09:53:29 +0000 (09:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xfsprogs.spec -> 1.128

xfsprogs.spec

index f94f8cd6ede598aee74f83fc49cf74a82480c526..847cabe3f1d39bc9175beda22b8d3cbf44f5689b 100644 (file)
@@ -37,9 +37,15 @@ BuildRequires:       gettext-devel
 BuildRequires: libtool
 BuildRequires: libuuid-devel
 BuildRequires: readline-devel
+BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpmbuild(macros) >= 1.402
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%if "%{pld_release}" == "ac"
+# libtool in ac doesn't do the reordering of args properly
+%define                filterout_ld -Wl,--as-needed
+%endif
+
 %define                _sbindir        /sbin
 %define                _bindir         /usr/sbin
 %define                _libdir         /%{_lib}
This page took 0.048645 seconds and 4 git commands to generate.