]> git.pld-linux.org Git - packages/qemu.git/blobdiff - qemu-cflags.patch
upstream patch to fix build with glibc 2.27
[packages/qemu.git] / qemu-cflags.patch
index 248c79c67e65c3dc0eea161a09eef2df5e9031d4..bdc711253c8571e0134aab02260b99915573b84e 100644 (file)
@@ -1,13 +1,16 @@
---- qemu-kvm-1.0/configure~    2012-02-22 11:45:58.440892282 +0100
-+++ qemu-kvm-1.0/configure     2012-02-23 10:24:12.692463270 +0100
-@@ -2781,10 +2781,6 @@
- # End of CC checks
+--- qemu-2.5.0/configure~      2015-12-21 22:27:18.000000000 +0100
++++ qemu-2.5.0/configure       2015-12-21 22:29:00.990327069 +0100
+@@ -4494,12 +4494,8 @@
  # After here, no more $cc or $ld runs
  
--if test "$debug" = "no" ; then
+ if test "$gcov" = "yes" ; then
+-  CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
++  CFLAGS="-fprofile-arcs -ftest-coverage $CFLAGS"
+   LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
+-elif test "$fortify_source" = "yes" ; then
+-  CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
+-elif test "$debug" = "no"; then
 -  CFLAGS="-O2 $CFLAGS"
--fi
--
- # Consult white-list to determine whether to enable werror
- # by default.  Only enable by default for git builds
- z_version=`cut -f3 -d. $source_path/VERSION`
+ fi
+ ##########################################
This page took 0.413108 seconds and 4 git commands to generate.