Skip to content

Commit ca566b7

Browse files
lets try this again...
1 parent 826152c commit ca566b7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def run(self):
8282
]
8383

8484
# gcc and clang arguments
85-
gcc_compile_args = [
85+
GCC_COMPILE_ARGS = [
8686
'-fpermissive',
8787
'-Wno-unused-variable',
8888
'-Wno-unused-function',
@@ -94,12 +94,13 @@ def run(self):
9494
compile_args = []
9595
# mingw and clang python builds won't have MSC in the version string
9696
if "MSC" not in sys.version:
97-
compile_args = gcc_compile_args
97+
compile_args = GCC_COMPILE_ARGS
9898
elif 'LINUX' in platform.system().upper():
99-
compile_args = gcc_compile_args
99+
compile_args = GCC_COMPILE_ARGS
100100
elif 'DARWIN' in platform.system().upper():
101101
# Mac doesn't respect the compiler args, but will append with ARCHFLAGS environment variable
102102
os.environ['ARCHFLAGS'] = '-std=c++17'
103+
compile_args = []
103104
else:
104105
compile_args = []
105106

0 commit comments

Comments
 (0)