summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-06-26 09:16:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-06-26 09:16:26 +0000
commitd2c78daeadcdc7c4c04fdb84000a29fe1d2effab (patch)
treef1b70b459694702e49e4f4f6ffa68456c904528c /games-emulation/mednafen/files/mednafen-0.9.38.1-cflags.patch
parentStable for x86, wrt bug #551860 (diff)
downloadgentoo-2-d2c78daeadcdc7c4c04fdb84000a29fe1d2effab.tar.gz
gentoo-2-d2c78daeadcdc7c4c04fdb84000a29fe1d2effab.tar.bz2
gentoo-2-d2c78daeadcdc7c4c04fdb84000a29fe1d2effab.zip
old
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-emulation/mednafen/files/mednafen-0.9.38.1-cflags.patch')
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.38.1-cflags.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.1-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.38.1-cflags.patch
deleted file mode 100644
index c43af818b6b8..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.38.1-cflags.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- configure.ac.orig
-+++ configure.ac
-@@ -80,25 +80,6 @@
- AC_CHECK_LIB([z], [zlibVersion],[], AC_MSG_ERROR([*** zlib not found!]))
- LIBS="$LIBS -lz"
-
--OPTIMIZER_FLAGS=""
--
--dnl -ffast-math removed January 12, 2013. Don't re-add it, nor any of its sub-options(ESPECIALLY not -funsafe-math-optimizations),
--dnl it messes up certain code(NES resampler, for example) under certain conditions and alignments of the great celestial squid.
--dnl
--dnl In fact, let's explicitly disable it here with -fno-fast-math.
--dnl
--dnl -fomit-frame-pointer is required for some x86 inline assembly to compile.
--dnl
--dnl November 28, 2014: Use -fwrapv unconditionally instead of -fno-strict-overflow, -fno-strict-overflow is buggy
--dnl and does not work as documented/implied.
--dnl
--AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-aggressive-loop-optimizations], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fwrapv], OPTIMIZER_FLAGS)
--
--
- WARNING_FLAGS=""
- AX_CFLAGS_GCC_OPTION([-Wall], WARNING_FLAGS)
- AX_CFLAGS_GCC_OPTION([-Wshadow], WARNING_FLAGS)