]> git.pld-linux.org Git - packages/dmraid.git/commitdiff
- pass CC and CFLAGS
authorsparky <sparky@pld-linux.org>
Sun, 26 Feb 2006 18:35:13 +0000 (18:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dmraid.spec -> 1.20

dmraid.spec

index b113f2becfaa39a4ae50df4616960323f40250f1..45e4e1d979ce45f800f28b0fa8ed7c55f16dbbe5 100644 (file)
@@ -56,13 +56,17 @@ cp -f /usr/share/automake/config.sub autoconf
 %if %{with initrd}
 %configure \
        --enable-static_link
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
 cp -f tools/dmraid{,-initrd}
 %{__make} clean
 %endif
 
 %configure
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.122046 seconds and 4 git commands to generate.