packages: qemu/qemu.spec - cflags passing

gzohop gzohop at pld-linux.org
Wed Mar 23 00:39:31 CET 2011


Author: gzohop                       Date: Tue Mar 22 23:39:31 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- cflags passing

---- Files affected:
packages/qemu:
   qemu.spec (1.178 -> 1.179) 

---- Diffs:

================================================================
Index: packages/qemu/qemu.spec
diff -u packages/qemu/qemu.spec:1.178 packages/qemu/qemu.spec:1.179
--- packages/qemu/qemu.spec:1.178	Mon Mar 21 22:30:42 2011
+++ packages/qemu/qemu.spec	Wed Mar 23 00:39:25 2011
@@ -98,9 +98,9 @@
 
 # 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
@@ -149,6 +149,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.179  2011/03/22 23:39:25  gzohop
+- cflags passing
+
 Revision 1.178  2011/03/21 21:30:42  gzohop
 
 - up to 0.14.0, build&works for Th i686
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qemu/qemu.spec?r1=1.178&r2=1.179&f=u



More information about the pld-cvs-commit mailing list