Skip to content

Commit 8d9ad11

Browse files
authored
remove CC for macosx (test)
1 parent f126bfe commit 8d9ad11

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636

3737

3838
# add platform dependant optional compilation argument
39-
if sys.platform.startswith('darwin') and not os.environ.get('POT_LEAVE_CC', ''):
40-
os.environ["CC"] = "g++"
41-
os.environ["CXX"] = "g++"
39+
if sys.platform.startswith('darwin'):
4240
opt_arg.append("-stdlib=libc++")
4341
sdk_path = subprocess.check_output(['xcrun', '--show-sdk-path'])
4442
os.environ['CFLAGS'] = '-isysroot "{}"'.format(sdk_path.rstrip().decode("utf-8"))

0 commit comments

Comments
 (0)