Skip to content

Commit

Permalink
fix to build; enable only active arch in Debug
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R-packages/trunk/Mac-GUI@6089 694ef91d-65df-0310-b7bb-92e67a308ead
  • Loading branch information
s-u committed Feb 17, 2012
1 parent 847f0ab commit 6e6a102
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions R.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1942,6 +1942,7 @@
680F0B3D0997CE66009CDBE8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ONLY_ACTIVE_ARCH_PRE_XCODE_3_1)";
COPY_PHASE_STRIP = NO;
GCC_PREPROCESSOR_DEFINITIONS = USE_POOLS;
HEADER_SEARCH_PATHS = (
Expand All @@ -1953,6 +1954,7 @@
INFOPLIST_PREPROCESS = YES;
INFOPLIST_PREPROCESSOR_DEFINITIONS = "DEBUG_CFG=1";
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks /Library/Frameworks";
ONLY_ACTIVE_ARCH_PRE_XCODE_3_1 = "$(NATIVE_ARCH_ACTUAL)";
STRINGS_FILE_OUTPUT_ENCODING = "UTF-8";
STRIP_INSTALLED_PRODUCT = NO;
};
Expand Down
2 changes: 1 addition & 1 deletion RController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2925,7 +2925,7 @@ - (void) handlePromptRdFileAtPath:(NSString*)filepath isTempFile:(BOOL)isTempFil
}
} else {
NSError *err = nil;
SLog(@"RController:handlePromptRdFileAtPath opens untitled Rd file for '%@>'", [url absoluteString]);
SLog(@"RController:handlePromptRdFileAtPath opens untitled Rd file for '%@>'", filepath);
RDocumentController *ctrl = [RDocumentController sharedDocumentController];
RDocument *doc = [ctrl makeUntitledDocumentOfType:ftRdDoc error:&err];
if(err != nil) {
Expand Down
2 changes: 1 addition & 1 deletion RDocument.m
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ - (BOOL)prepareSavePanel:(NSSavePanel *)savePanel
- (BOOL)writeToURL:(NSURL *)absoluteURL ofType:(NSString *)docType error:(NSError **)outError
{

SLog(@"RDocument.writeToFile: %@ ofType: %@ ", fileName, docType);
SLog(@"RDocument.writeToFile: %@ ofType: %@ ", absoluteURL, docType);

NSString *oldFileType = (initialContentsType)?:ftRSource;

Expand Down

0 comments on commit 6e6a102

Please sign in to comment.