Skip to content

Commit

Permalink
Update CFLAGS docs to reflect distutils change
Browse files Browse the repository at this point in the history
Update the docs to reflect the distutils change for pypa/distutils#299
in af7fcbb.

Closes: #4836
  • Loading branch information
thesamesam committed Feb 21, 2025
1 parent ba24375 commit 5b5b2ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docs/userguide/ext_modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ The compiler options appear in the command line in the following order:

.. Reference: "compiler_so" and distutils.ccompiler.gen_preprocess_options, CCompiler.compile, UnixCCompiler._compile
* first, the options provided by the ``sysconfig`` variable ``CFLAGS``,
* then, the options provided by the environment variables ``CFLAGS`` and ``CPPFLAGS``,
* first, the options provided by the environment variables ``CFLAGS`` and ``CPPFLAGS``,
* then, the options provided by the ``sysconfig`` variable ``CCSHARED``,
* then, a ``-I`` option for each element of ``Extension.include_dirs``,
* finally, the options provided by ``Extension.extra_compile_args``.
Expand Down
1 change: 1 addition & 0 deletions newsfragments/4836.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix documentation for recent CFLAGS distutils change. -- by :user:`thesamesam`

0 comments on commit 5b5b2ab

Please sign in to comment.