Skip to content

Commit

Permalink
ENH: remove custom fixes for mac osx now integrated in waf.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Aug 28, 2011
1 parent dfafdcd commit d3f13af
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bscript
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,8 @@ def pre_configure(context):
# FIXME: fix upstream waf tool to work on mac os X
conf.env.CC = ["/usr/bin/gcc-4.0"]
conf.env.LINK_CC = ["/usr/bin/gcc-4.0"]
## FIXME: fix upstream waf tool to avoid linking against libpython2.6.so
## (cause crashes when importing the extension)
#name = "python%s" % ".".join([str(i) for i in sys.version_info[:2]])
#remove_flag(name, conf.env.LIB_PYEXT)
#remove_flag("-dynamiclib", conf.env.LINKFLAGS_cshlib)
#remove_flag_postvalue("-compatibility_version", conf.env.CFLAGS_cshlib)
#remove_flag_postvalue("-current_version", conf.env.CFLAGS_cshlib)
remove_flag_prevalue("ppc", conf.env.CFLAGS_PYEXT)
remove_flag_prevalue("ppc", conf.env.LINKFLAGS_PYEXT)
#conf.env.LINKFLAGS_cshlib.extend(["-undefined", "dynamic_lookup", "-bundle"])
conf.env["MACOSX_DEPLOYMENT_TARGET"] = "10.4"

conf.env.CFLAGS_PYEXT.append("-Wfatal-errors")
Expand Down

0 comments on commit d3f13af

Please sign in to comment.