File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -1496,6 +1496,9 @@ Linker flags
14961496 value to be able to build extension modules using the
14971497 directories specified in the environment variables.
14981498
1499+ Please consider using ``EXE_LDFLAGS `` if the supplied linker flags are
1500+ executable specific, e.g. GCC's ``-pie `` flag.
1501+
14991502.. envvar :: LIBS
15001503
15011504 Linker flags to pass libraries to the linker when linking the Python
@@ -1531,6 +1534,30 @@ Linker flags
15311534
15321535 .. versionadded :: 3.8
15331536
1537+ .. envvar :: EXE_LDFLAGS
1538+
1539+ Linker flags used for building executable targets such as the
1540+ interpreter. If supplied, :envvar: `PY_CORE_EXE_LDFLAGS `
1541+ will be used in replacement of :envvar: `PY_CORE_LDFLAGS `.
1542+
1543+ .. versionadded :: 3.15
1544+
1545+ .. envvar :: CONFIGURE_EXE_LDFLAGS
1546+
1547+ Value of :envvar: `EXE_LDFLAGS ` variable passed to the ``./configure ``
1548+ script.
1549+
1550+ .. versionadded :: 3.15
1551+
1552+ .. envvar :: PY_CORE_EXE_LDFLAGS
1553+
1554+ Linker flags used for building the interpreter and
1555+ executable targets.
1556+
1557+ Default: ``$(PY_CORE_LDFLAGS) ``
1558+
1559+ .. versionadded :: 3.15
1560+
15341561
15351562.. rubric :: Footnotes
15361563
You can’t perform that action at this time.
0 commit comments