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"
then
AC_DEFINE(_DEBUG,1,[_DEBUG])
AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
AC_DEFINE(PCSX2_DEVBUILD,1,[PCSX2_DEVBUILD])
MYOBJDIR="Debug"
optimization="no"
@ -112,7 +112,7 @@ then
fi
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 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 "
dnl NORMAL_FLAGS+=" -fschedule-insns "
NORMAL_FLAGS+=" -fschedule-insns2 "
NORMAL_FLAGS+=" -fstrict-aliasing -fstrict-overflow "
NORMAL_FLAGS+=" -fstrict-overflow "
NORMAL_FLAGS+=" -ftree-switch-conversion -ftree-pre -ftree-vrp "
else
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)
if test "x$debug" == xyes
then
AC_DEFINE(_DEBUG,1,[_DEBUG])
AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+=" -g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+=" -g -fPIC -Wall -Wno-unused-value -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)
if test "x$debug" == xyes
then
AC_DEFINE(_DEBUG,1,[_DEBUG])
AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-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)
if test "x$debug" == xyes
then
AC_DEFINE(_DEBUG,1,[_DEBUG])
AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-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)
if test "x$debug" == xyes
then
AC_DEFINE(_DEBUG,1,[_DEBUG])
AC_DEFINE(PCSX2_DEBUG,1,[PCSX2_DEBUG])
CFLAGS+="-g -fPIC -Wall -Wno-unused-value -m32 "
CPPFLAGS+="-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 RELEASE_MS 437L
#ifdef _DEBUG
#ifdef PCSX2_DEBUG
char *libraryName = "SPU2null (Debug)";
#else
char *libraryName = "SPU2null ";

View File

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