packages: qemu-kvm/qemu-kvm.spec - cflags passing

gzohop gzohop at pld-linux.org
Wed Mar 23 00:29:15 CET 2011


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

---- Files affected:
packages/qemu-kvm:
   qemu-kvm.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/qemu-kvm/qemu-kvm.spec
diff -u packages/qemu-kvm/qemu-kvm.spec:1.5 packages/qemu-kvm/qemu-kvm.spec:1.6
--- packages/qemu-kvm/qemu-kvm.spec:1.5	Tue Mar 22 20:47:01 2011
+++ packages/qemu-kvm/qemu-kvm.spec	Wed Mar 23 00:29:10 2011
@@ -91,9 +91,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
@@ -177,6 +177,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/03/22 23:29:10  gzohop
+- cflags passing
+
 Revision 1.5  2011/03/22 19:47:01  gzohop
 - up to 0.14.0
 - build section from qemu
================================================================

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



More information about the pld-cvs-commit mailing list