Honour CC/LD flags from RPM global settings.

https://bugzilla.redhat.com/show_bug.cgi?id=1549657

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2018-02-27 15:33:06 +00:00
parent 1d16c17085
commit 34056732a5
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ make V=1 %{?_smp_mflags} $buildldflags
popd
%endif
gcc %{_sourcedir}/ksmctl.c -O2 -g -o ksmctl
gcc %{_sourcedir}/ksmctl.c $RPM_OPT_FLAGS $RPM_LD_FLAGS -o ksmctl
%install