Skip to content

Commit

Permalink
manual application of wonky patch from #1331
Browse files Browse the repository at this point in the history
  • Loading branch information
cotto committed Jan 24, 2011
1 parent bdd6fb4 commit 3b85078
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/gen/makefiles/root.in
Expand Up @@ -543,7 +543,7 @@ INSTALLABLEOPS2C = .@slash@installable_ops2c$(EXE)

# Libraries
LIBPARROT_STATIC = @blib_dir@/@libparrot_static@
#IF(darwin):export DYLD_LIBRARY_PATH := @blib_dir@:$(DYLD_LIBRARY_PATH)
#IF(darwin):export DYLD_LIBRARY_PATH := @build_dir@/@blib_dir@:$(DYLD_LIBRARY_PATH)
#IF(win32):LIBPARROT_SHARED = @libparrot_shared@
#ELSE:LIBPARROT_SHARED = @blib_dir@/@libparrot_shared@

Expand Down
3 changes: 3 additions & 0 deletions config/init/hints/darwin.pm
Expand Up @@ -48,6 +48,9 @@ sub runstep {
if ($ENV{'MACOSX_DEPLOYMENT_TARGET'} eq '10.6') {
$flagsref->{ccflags} .= ' -pipe -fno-common ';
}
elsif ($ENV{'MACOSX_DEPLOYMENT_TARGET'} eq '10.5') {
$flagsref->{ccflags} .= ' -pipe -fno-common ';
}
else {
$flagsref->{ccflags} .= ' -pipe -fno-common -Wno-long-double ';
}
Expand Down

1 comment on commit 3b85078

@leto
Copy link
Member

@leto leto commented on 3b85078 Feb 8, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am testing this on OS X 10.5 now

Please sign in to comment.