From f0ac46193c05c171379283a97df184b8d32a7a59 Mon Sep 17 00:00:00 2001 From: Grzesiek Pycia Date: Tue, 22 Mar 2011 23:39:25 +0000 Subject: [PATCH] - cflags passing Changed files: qemu.spec -> 1.179 --- qemu.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index 0201d0e..40522b0 100644 --- a/qemu.spec +++ b/qemu.spec @@ -97,9 +97,9 @@ aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy: # cannot use optflags on x86 - they cause "no register to spill" errors %if %{with cflags_passing} -%{__sed} -i -e 's/-Wall -O2 -g/-Wall %{rpmcflags}/' Makefile Makefile.target +%{__sed} -i -e 's/-g $CFLAGS/-Wall %{rpmcflags}/' configure %else -%{__sed} -i 's/-Wall -O2 -g/-Wall -O2/' Makefile Makefile.target +%{__sed} -i 's/-g $CFLAGS/-Wall -fno-var-tracking-assignments/' configure %endif %build -- 2.44.0