From 34056732a560f24045a015ea1cf203a6c88fb856 Mon Sep 17 00:00:00 2001 From: Daniel P. Berrangé Date: Feb 27 2018 15:33:06 +0000 Subject: Honour CC/LD flags from RPM global settings. https://bugzilla.redhat.com/show_bug.cgi?id=1549657 Signed-off-by: Daniel P. Berrangé --- diff --git a/qemu.spec b/qemu.spec index 3ec62ba..feac33c 100644 --- a/qemu.spec +++ b/qemu.spec @@ -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