]> git.pld-linux.org Git - packages/lvm2.git/commitdiff
- initrd info, ac fixes
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 29 Jul 2010 10:09:52 +0000 (10:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lvm2.spec -> 1.153

lvm2.spec

index cb2eef2080c1ed8973a597fc07a091c7d16aa700..5bf85ca1c26fc4f37a9135a203cbcfb8ab20cd35 100644 (file)
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -23,7 +23,7 @@
 %undefine      with_dietlibc
 %endif
 
-%if %{with clvmd3} 
+%if %{with clvmd3}
 %undefine      with_clvmd
 %endif
 
@@ -90,6 +90,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # can't work with diet
 %undefine      with_ccache
 
+# borken on AC
+%define                filterout_ld    -Wl,--as-needed
+
 # for some reason known only to rpm there must be "\\|" not "\|" here
 %define                dietarch        %(echo %{_target_cpu} | sed -e 's/i.86\\|pentium.\\|athlon/i386/;s/amd64/x86_64/;s/armv.*/arm/')
 %define                dietlibdir      %{_prefix}/lib/dietlibc/lib-%{dietarch}
@@ -230,6 +233,9 @@ initramfs-tools.
 %patch3 -p1
 
 %build
+%if %{with initrd}
+echo Using %{?with_glibc:GLIBC} %{?with_uClibc:uClibc} %{?with_dietlibc:diet} for initrd
+%endif
 cp -f /usr/share/automake/config.sub autoconf
 %{__aclocal}
 %{__autoconf}
This page took 0.115845 seconds and 4 git commands to generate.