Skip to content

Commit e58fd29

Browse files
authored
Append to ARCHFLAGS instead of overwriting it (#169)
Append to `ARCHFLAGS` instead of overwriting it
1 parent ed4690e commit e58fd29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def run(self):
102102
compile_args = GCC_COMPILE_ARGS
103103
elif "DARWIN" in platform.system().upper():
104104
# Mac doesn't respect the compiler args, but will append with ARCHFLAGS environment variable
105-
os.environ["ARCHFLAGS"] = "-std=c++17"
105+
os.environ["ARCHFLAGS"] += " -std=c++17"
106106
compile_args = []
107107
else:
108108
compile_args = []

0 commit comments

Comments
 (0)