]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- cflags passing
authorGrzesiek Pycia <gzohop@pld-linux.org>
Tue, 22 Mar 2011 23:39:25 +0000 (23:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qemu.spec -> 1.179

qemu.spec

index 0201d0e73cb555a73b3d81e5a0eb2638f7ca611d..40522b087e5e8f914f8be2e503e8ce30818b0669 100644 (file)
--- 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
This page took 0.036447 seconds and 4 git commands to generate.