[packages/redis] use our ldflags as well
glen
glen at pld-linux.org
Sat May 7 17:02:51 CEST 2016
commit 7674df1b960c70a67ba3a437019b1533f42e34b2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat May 7 18:00:38 2016 +0300
use our ldflags as well
redis.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/redis.spec b/redis.spec
index 1462977..c520e77 100644
--- a/redis.spec
+++ b/redis.spec
@@ -89,9 +89,10 @@ ln -s %{_libdir} deps/jemalloc/lib
ln -s %{_includedir} deps/jemalloc/include
%build
-%define _make_opts CC="%{__cc}" CFLAGS="%{rpmcflags} -std=c99" DEBUG="" V=1
+%define specflags -std=c99 -pedantic
+%define _make_opts CC="%{__cc}" CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" OPTIMIZATION="" DEBUG="" V=1
-%{__make} -j1 all
+%{__make} -j1 -C src all
%if %{with tests}
%{__make} test
@@ -105,6 +106,7 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}} \
$RPM_BUILD_ROOT%{systemdtmpfilesdir}
%{__make} install \
+ INSTALL="install -p" \
PREFIX=$RPM_BUILD_ROOT%{_prefix}
# Fix non-standard-executable-perm error
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/redis.git/commitdiff/7674df1b960c70a67ba3a437019b1533f42e34b2
More information about the pld-cvs-commit
mailing list