File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
9898elif 'LINUX' in platform .system ().upper ():
99- compile_args = gcc_compile_args
99+ compile_args = GCC_COMPILE_ARGS
100100elif '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 = []
103104else :
104105 compile_args = []
105106
You can’t perform that action at this time.
0 commit comments