From 34056732a560f24045a015ea1cf203a6c88fb856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 27 Feb 2018 15:33:06 +0000 Subject: [PATCH] Honour CC/LD flags from RPM global settings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://bugzilla.redhat.com/show_bug.cgi?id=1549657 Signed-off-by: Daniel P. Berrangé --- qemu.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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