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:
parent
59378174a9
commit
e35b514eeb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user