diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-11-22 19:41:00 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-11-22 19:41:00 -0500 |
commit | 48dc0173191a6bdea35ada3682f5426511ccd654 (patch) | |
tree | 48a962c1b0d4dfb384922764d2df263b7f2d5f00 | |
parent | efea9429c0212fcdf0931f0a1cd257bf9853ef09 (diff) | |
download | gentoo-48dc0173191a6bdea35ada3682f5426511ccd654.tar.gz gentoo-48dc0173191a6bdea35ada3682f5426511ccd654.tar.xz |
app-emulation/qemu: update cflags patch #565866
-rw-r--r-- | app-emulation/qemu/files/qemu-2.5.0-cflags.patch | 13 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-9999.ebuild | 2 |
2 files changed, 14 insertions, 1 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 00000000000..173394fd02f --- /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 + + ########################################## diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index 31237158628..aa8b852d955 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -306,7 +306,7 @@ src_prepare() { # Cheap hack to disable gettext .mo generation. use nls || rm -f po/*.po - epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch + epatch "${FILESDIR}"/qemu-2.5.0-cflags.patch [[ -n ${BACKPORTS} ]] && \ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ epatch |