Suppose I should do something about the configure.ac files and _DEBUG, as well.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1390 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2009-06-18 09:58:56 +00:00
parent 816e39851a
commit 91be7889e2
12 changed files with 14 additions and 14 deletions

View File

@ -38,7 +38,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
if test "x$debug" == "xyes" if test "x$debug" == "xyes"
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
AC_DEFINE(PCSX2_DEVBUILD,1,[PCSX2_DEVBUILD]) AC_DEFINE(PCSX2_DEVBUILD,1,[PCSX2_DEVBUILD])
MYOBJDIR="Debug" MYOBJDIR="Debug"
optimization="no" optimization="no"
@ -112,7 +112,7 @@ then
fi fi
WARNING_FLAGS+=" -Wno-format -Wno-unused-parameter -Wno-unused-value " WARNING_FLAGS+=" -Wno-format -Wno-unused-parameter -Wno-unused-value "
NORMAL_FLAGS+=" -msse -msse2 ${WARNING_FLAGS} " NORMAL_FLAGS+=" -msse -msse2 ${WARNING_FLAGS} -fno-strict-aliasing "
dnl These optimizations seem to cause issues with GCC 4.3.3, so we'll turn them off. dnl These optimizations seem to cause issues with GCC 4.3.3, so we'll turn them off.
dnl I really need to run some tests and see if they are still needed. dnl I really need to run some tests and see if they are still needed.
@ -146,7 +146,7 @@ dnl Anything higher then -O0 seem to cause issues with GCC 4.4.0.
NORMAL_FLAGS+=" -fsched-spec " NORMAL_FLAGS+=" -fsched-spec "
dnl NORMAL_FLAGS+=" -fschedule-insns " dnl NORMAL_FLAGS+=" -fschedule-insns "
NORMAL_FLAGS+=" -fschedule-insns2 " NORMAL_FLAGS+=" -fschedule-insns2 "
NORMAL_FLAGS+=" -fstrict-aliasing -fstrict-overflow " NORMAL_FLAGS+=" -fstrict-overflow "
NORMAL_FLAGS+=" -ftree-switch-conversion -ftree-pre -ftree-vrp " NORMAL_FLAGS+=" -ftree-switch-conversion -ftree-pre -ftree-vrp "
else else
NORMAL_FLAGS+=" -pipe -O2 " NORMAL_FLAGS+=" -pipe -O2 "

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+=" -g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+=" -g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+=" -g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+=" -g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+=" -g -fPIC -Wall -Wno-unused-value -fpermissive -m32 " CXXFLAGS+=" -g -fPIC -Wall -Wno-unused-value -fpermissive -m32 "

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "

View File

@ -35,7 +35,7 @@ const u32 minor = 0; // increase that with each version
#define SUSTAIN_MS 441L #define SUSTAIN_MS 441L
#define RELEASE_MS 437L #define RELEASE_MS 437L
#ifdef _DEBUG #ifdef PCSX2_DEBUG
char *libraryName = "SPU2null (Debug)"; char *libraryName = "SPU2null (Debug)";
#else #else
char *libraryName = "SPU2null "; char *libraryName = "SPU2null ";

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "

View File

@ -28,7 +28,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -m32 -fpic " CFLAGS+="-g -m32 -fpic "
CXXFLAGS+="-g -m32 -fpic " CXXFLAGS+="-g -m32 -fpic "
CCASFLAGS+=" -m32 -fpic " CCASFLAGS+=" -m32 -fpic "

View File

@ -29,7 +29,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
debug=$enableval,debug=no) debug=$enableval,debug=no)
if test "x$debug" == xyes if test "x$debug" == xyes
then then
AC_DEFINE(_DEBUG,1,[_DEBUG]) AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CPPFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 " CXXFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "