Skip to content

Commit aea2fa5

Browse files
committed
Fix CC
1 parent 48ff68d commit aea2fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
cc = compiler
3535
if cc is None:
3636
raise ValueError("You must install gcc/g++. You can install with homebrew: brew install gcc --without-multilib")
37-
os.environ["CC"] = cc
37+
os.environ["CC"] = cc.replace("g++", "gcc")
3838
os.environ["CXX"] = cc
3939
# not all OSX/clang compiler flags supported by GCC. For some reason
4040
# these sometimes are generated and used. Cython will still add more flags.

0 commit comments

Comments
 (0)