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.
This commit is contained in:
Nathan Scott 2017-09-27 09:02:22 +10:00
parent 59378174a9
commit e35b514eeb
1 changed files with 1 additions and 1 deletions

View File

@ -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