X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=games-emulation%2Fpcsx2%2Ffiles%2Fpcsx2-custom-cflags.patch;fp=games-emulation%2Fpcsx2%2Ffiles%2Fpcsx2-custom-cflags.patch;h=7bc8df398811f51325186ea3afbb923965bfc8e3;hb=809e43b0c9a43a81d3545c6ac2cf1e810cb50106;hp=0000000000000000000000000000000000000000;hpb=e599815069f11d05fa6d54d17506aa71b5f1e81f;p=overlay.git diff --git a/games-emulation/pcsx2/files/pcsx2-custom-cflags.patch b/games-emulation/pcsx2/files/pcsx2-custom-cflags.patch new file mode 100644 index 0000000..7bc8df3 --- /dev/null +++ b/games-emulation/pcsx2/files/pcsx2-custom-cflags.patch @@ -0,0 +1,34 @@ +--- configure.ac.old 2008-03-02 14:49:49.564590000 +0000 ++++ configure.ac 2008-03-02 14:52:53.589590315 +0000 +@@ -11,10 +11,9 @@ + dnl necessary for compiling assembly + AM_PROG_AS + +-CFLAGS= +-CPPFLAGS= +-CXXFLAGS= +-CCASFLAGS= ++CFLAGS="-O1 -finline-functions ${CFLAGS}" ++CXXFLAGS="-O1 -finline-functions ${CXXFLAGS}" ++CCASFLAGS="-O1 -finline-functions ${CCASFLAGS}" + + dnl Check for debug build + AC_MSG_CHECKING(debug build) +@@ -23,16 +22,10 @@ + if test "x$debug" == xyes + then + AC_DEFINE(_DEBUG,1,[_DEBUG]) +- CFLAGS+=" -g " +- CPPFLAGS+=" -g " +- CXXFLAGS+=" -g " +- CCASFLAGS+=" -D_DEBUG -g " ++ CCASFLAGS+=" -D_DEBUG " + MYOBJDIR="Debug" + else + AC_DEFINE(NDEBUG,1,[NDEBUG]) +- CFLAGS+=" -O3 -fomit-frame-pointer " +- CPPFLAGS+=" -O3 -fomit-frame-pointer " +- CXXFLAGS+=" -O3 -fomit-frame-pointer " + MYOBJDIR="Release" + fi + AC_MSG_RESULT($debug)