Skip to content

Commit 6af994d

Browse files
committed
CXXFLAGS
1 parent 6177331 commit 6af994d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
if sys.platform == "win32":
1010
libraries.append("ws2_32")
1111
macros = [("__LITTLE_ENDIAN__", "1")]
12-
cflags = os.environ.get("CFLAGS")
12+
cflags = os.environ.get("CXXFLAGS")
1313
cxx20flag = "/std:c++20"
1414
if cflags is None:
1515
cflags = cxx20flag
1616
elif cxx20flag not in cflags:
1717
cflags += " " + cxx20flag
18-
os.environ["CFLAGS"] = cflags
18+
os.environ["CXXFLAGS"] = cflags
1919

2020

2121
from setuptools import setup, Extension

0 commit comments

Comments
 (0)