Skip to content

Commit 197c786

Browse files
committed
Add explanatory comment for cflags_rel
1 parent cfc90a9 commit 197c786

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ def build_isa_l(compiler_command: str, compiler_options: str):
139139
if SYSTEM_IS_UNIX:
140140
build_env["CFLAGS"] = compiler_options + " -fPIC"
141141
elif SYSTEM_IS_WINDOWS:
142+
# The nmake file has CLFAGS_REL for all the compiler options.
143+
# This is added to CFLAGS with all the necessary include options.
142144
build_env["CFLAGS_REL"] = compiler_options
143145
if hasattr(os, "sched_getaffinity"):
144146
cpu_count = len(os.sched_getaffinity(0))

0 commit comments

Comments
 (0)