c65e6f be more careful when removing the -g flag on s390

Authored and Committed by Dan Horák 13 years ago
1 file changed. 5 lines added. 3 lines removed.
    be more careful when removing the -g flag on s390
    
        
file modified
+5 -3
qemu.spec CHANGED
@@ -1,7 +1,7 @@
1
1
Summary: QEMU is a FAST! processor emulator
2
2
Name: qemu
3
3
Version: 0.14.0
4
- Release: 4%{?dist}
4
+ Release: 5%{?dist}
5
5
# Epoch because we pushed a qemu-1.0 package
6
6
Epoch: 2
7
7
License: GPLv2+ and LGPLv2+ and BSD
@@ -276,7 +276,7 @@ buildldflags="VL_LDFLAGS=-Wl,--build-id"
276
276
%ifarch s390
277
277
# drop -g flag to prevent memory exhaustion by linker
278
278
%global optflags %(echo %{optflags} | sed 's/-g//')
279
- sed -i.debug 's/-g//g' configure
279
+ sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
280
280
%endif
281
281
282
282
%ifarch %{ix86} x86_64
@@ -585,10 +585,12 @@ fi
585
585
%{_mandir}/man1/qemu-img.1*
586
586
587
587
%changelog
588
+ * Tue Mar 22 2011 Dan Horák <dan[at]danny.cz> - 2:0.14.0-5
589
+ - be more careful when removing the -g flag on s390
590
+
588
591
* Fri Mar 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-4
589
592
- Fix thinko on adding the most recent patches.
590
593
591
-
592
594
* Wed Mar 16 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-3
593
595
- Fix migration issue with vhost
594
596
- Fix qxl locking issues for spice