diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2020-05-15 08:36:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 08:36:58 +0200 |
commit | 8d9ad11abdd1a3d5d42c57592b2700e3592f7d77 (patch) | |
tree | beb2ab48c1a3ea7c798ed2be777ea2b455c81900 | |
parent | f126bfea0363884406e2df4a758c0df42d5decdf (diff) |
remove CC for macosx (test)
-rwxr-xr-x | setup.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -36,9 +36,7 @@ if 'clean' in sys.argv[1:]: # add platform dependant optional compilation argument -if sys.platform.startswith('darwin') and not os.environ.get('POT_LEAVE_CC', ''): - os.environ["CC"] = "g++" - os.environ["CXX"] = "g++" +if sys.platform.startswith('darwin'): opt_arg.append("-stdlib=libc++") sdk_path = subprocess.check_output(['xcrun', '--show-sdk-path']) os.environ['CFLAGS'] = '-isysroot "{}"'.format(sdk_path.rstrip().decode("utf-8")) |