[packages/libnsgif] - pass cflags and ldflags.
witekfl
witekfl at pld-linux.org
Sat Apr 27 08:58:57 CEST 2013
commit 75d3aad67ac5a5296bb51d5b0783a8f8b5f72ec9
Author: witekfl <witekfl at poczta.onet.pl>
Date: Sat Apr 27 08:57:25 2013 +0200
- pass cflags and ldflags.
libnsgif.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libnsgif.spec b/libnsgif.spec
index 81c92fd..bae4e77 100644
--- a/libnsgif.spec
+++ b/libnsgif.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libnsgif.git/commitdiff/75d3aad67ac5a5296bb51d5b0783a8f8b5f72ec9
More information about the pld-cvs-commit
mailing list