mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
816e39851a
commit
91be7889e2
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 ";
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue