]> git.pld-linux.org Git - packages/redis.git/commitdiff
use our ldflags as well
authorElan Ruusamäe <glen@delfi.ee>
Sat, 7 May 2016 15:00:38 +0000 (18:00 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 7 May 2016 15:00:38 +0000 (18:00 +0300)
redis.spec

index 146297705154a6b62658061a14d21fe636f76b9f..c520e77b361d8ebdf5ff377391a4681c87e91e05 100644 (file)
@@ -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
This page took 0.123948 seconds and 4 git commands to generate.