Skip to content

Commit

Permalink
Update CFLAGS docs to reflect distutils change (#4846)
Browse files Browse the repository at this point in the history
Update CFLAGS docs to reflect distutils change
  • Loading branch information
abravalheri authored Feb 25, 2025
2 parents d31c5b9 + 5b5b2ab commit e46cfbf
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 e46cfbf

Please sign in to comment.