summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-22 19:41:00 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-22 19:41:00 -0500
commit48dc0173191a6bdea35ada3682f5426511ccd654 (patch)
tree48a962c1b0d4dfb384922764d2df263b7f2d5f00 /app-emulation/qemu/files/qemu-2.5.0-cflags.patch
parentsys-apps/iucode_tool: version bump to 1.5 #566152 (diff)
downloadgentoo-48dc0173191a6bdea35ada3682f5426511ccd654.tar.gz
gentoo-48dc0173191a6bdea35ada3682f5426511ccd654.tar.bz2
gentoo-48dc0173191a6bdea35ada3682f5426511ccd654.zip
app-emulation/qemu: update cflags patch #565866
Diffstat (limited to 'app-emulation/qemu/files/qemu-2.5.0-cflags.patch')
-rw-r--r--app-emulation/qemu/files/qemu-2.5.0-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emulation/qemu/files/qemu-2.5.0-cflags.patch b/app-emulation/qemu/files/qemu-2.5.0-cflags.patch
new file mode 100644
index 000000000000..173394fd02f2
--- /dev/null
+++ b/app-emulation/qemu/files/qemu-2.5.0-cflags.patch
@@ -0,0 +1,13 @@
+--- a/configure
++++ b/configure
+@@ -4468,10 +4468,6 @@ fi
+ if test "$gcov" = "yes" ; then
+ CFLAGS="-fprofile-arcs -ftest-coverage -g $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
+
+ ##########################################