Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 096aa37

Browse files
committed
BENTO: workaround for waf bug on darwin.
1 parent f110ad2 commit 096aa37

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bscript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ def configure(context):
5151

5252
conf.check_python_version((2, 4, 0))
5353
conf.check_python_headers()
54+
if sys.platform == "darwin":
55+
# FIXME: fix upstream waf tool to work on mac os X
56+
conf.env.CC = ["/usr/bin/gcc-4.0"]
57+
conf.env.LINK_CC = ["/usr/bin/gcc-4.0"]
5458

5559
check_blas_lapack(conf)
5660

0 commit comments

Comments
 (0)