From e35b514eeb4a897f978ef77ec493780e6d775cdf Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Wed, 27 Sep 2017 09:02:22 +1000 Subject: [PATCH] Drop duplicate LDFLAGS setting via LUA_LDFLAGS Remi noticed an inconsistency in setting these flags - auditing the makefiles reveals there is no need to use the LUA-specific settings as the supplied LDFLAGS and CFLAGS are honoured. --- redis.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.spec b/redis.spec index 654e612..df70802 100644 --- a/redis.spec +++ b/redis.spec @@ -130,7 +130,7 @@ sed -i -e 's|^dir .*$|dir /var/lib/redis|g' redis.conf %else %global malloc_flags MALLOC=jemalloc %endif -%global make_flags DEBUG="" V="echo" LDFLAGS="%{?__global_ldflags}" CFLAGS+="%{optflags} -fPIC" %{malloc_flags} LUA_LDFLAGS+="%{?__global_ldflags}" INSTALL="install -p" PREFIX=%{buildroot}%{_prefix} +%global make_flags DEBUG="" V="echo" LDFLAGS="%{?__global_ldflags}" CFLAGS+="%{optflags} -fPIC" %{malloc_flags} INSTALL="install -p" PREFIX=%{buildroot}%{_prefix} %build make %{?_smp_mflags} %{make_flags} all