Skip to content

Commit e46cfbf

Browse files
authored
Update CFLAGS docs to reflect distutils change (#4846)
Update CFLAGS docs to reflect distutils change
2 parents d31c5b9 + 5b5b2ab commit e46cfbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: docs/userguide/ext_modules.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ The compiler options appear in the command line in the following order:
110110

111111
.. Reference: "compiler_so" and distutils.ccompiler.gen_preprocess_options, CCompiler.compile, UnixCCompiler._compile
112112
113-
* first, the options provided by the ``sysconfig`` variable ``CFLAGS``,
114-
* then, the options provided by the environment variables ``CFLAGS`` and ``CPPFLAGS``,
113+
* first, the options provided by the environment variables ``CFLAGS`` and ``CPPFLAGS``,
115114
* then, the options provided by the ``sysconfig`` variable ``CCSHARED``,
116115
* then, a ``-I`` option for each element of ``Extension.include_dirs``,
117116
* finally, the options provided by ``Extension.extra_compile_args``.

Diff for: newsfragments/4836.bugfix.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix documentation for recent CFLAGS distutils change. -- by :user:`thesamesam`

0 commit comments

Comments
 (0)