summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-06 01:51:33 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-06 01:51:33 +0000
commitc6cbf03a5a2d34c3685a028b6d84ad10272efa55 (patch)
treec2ddc64ebd1eacafe26f4ecd02283df4ce2819ab
parent5fdd921d34e0bc4d94cc86ac2e8582175b780c19 (diff)
downloadpcsxr-c6cbf03a5a2d34c3685a028b6d84ad10272efa55.tar.gz
Passing -mstackrealign compiler flag when building on Mac OS X. This fixes runtime errors on the 32-bit build of PCSXR.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72895 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--macosx/Pcsxr.xcodeproj/project.pbxproj7
1 files changed, 5 insertions, 2 deletions
diff --git a/macosx/Pcsxr.xcodeproj/project.pbxproj b/macosx/Pcsxr.xcodeproj/project.pbxproj
index 5aff9eaf..8ef17a43 100644
--- a/macosx/Pcsxr.xcodeproj/project.pbxproj
+++ b/macosx/Pcsxr.xcodeproj/project.pbxproj
@@ -948,7 +948,7 @@
GCC_WARN_UNKNOWN_PRAGMAS = NO;
INFOPLIST_FILE = Info.plist;
OTHER_CFLAGS = (
- "-funroll-loops",
+ "-mstackrealign",
"-falign-loops=16",
);
PRODUCT_NAME = PCSXR;
@@ -963,7 +963,7 @@
GCC_DYNAMIC_NO_PIC = YES;
GCC_ENABLE_ASM_KEYWORD = YES;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
- GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = s;
GCC_PREPROCESSOR_DEFINITIONS = (
PCSXRCORE,
@@ -976,6 +976,7 @@
GCC_WARN_UNKNOWN_PRAGMAS = NO;
INFOPLIST_FILE = Info.plist;
OTHER_CFLAGS = (
+ "-mstackrealign",
"-fomit-frame-pointer",
"-funroll-loops",
"-falign-loops=16",
@@ -989,6 +990,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ DEBUG_INFORMATION_FORMAT = dwarf;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
@@ -1009,6 +1011,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_DYNAMIC_NO_PIC = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;