]> git.pld-linux.org Git - packages/libnsgif.git/commitdiff
- pass cflags and ldflags.
authorwitekfl <witekfl@poczta.onet.pl>
Sat, 27 Apr 2013 06:57:25 +0000 (08:57 +0200)
committerwitekfl <witekfl@poczta.onet.pl>
Sat, 27 Apr 2013 06:57:25 +0000 (08:57 +0200)
libnsgif.spec

index 81c92fd3b44a9083af541502d79510c0b7923e44..bae4e77bdea5d1f5e7121487112b6794d183406e 100644 (file)
@@ -49,9 +49,11 @@ Statyczna biblioteka libnsgif.
 %setup -q
 
 %build
-%{__make} PREFIX=%{_prefix} COMPONENT_TYPE=lib-shared
+%{__make} PREFIX=%{_prefix} COMPONENT_TYPE=lib-shared Q='' \
+       CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}"
 %if %{with static_libs}
-%{__make} PREFIX=%{_prefix} COMPONENT_TYPE=lib-static
+%{__make} PREFIX=%{_prefix} COMPONENT_TYPE=lib-static Q='' \
+       CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}"
 %endif
 
 %install
This page took 0.152978 seconds and 4 git commands to generate.