Author matthiaskoeppe
Recipients docs@python, matthiaskoeppe
Date 2022-01-14.18:38:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The documentation of
should explain more clearly that flags such as `-I`, `-L`, etc. and strict compiler flags such as `-Werror...` should not be put into `CFLAGS`, `LDFLAGS`, or it will make the resulting Python unusable for compiling user packages with extension modules via `distutils` and `setuptools`.

Various downstream packagers have provided misconfigured Pythons:
- Homebrew (,, resolved)
- Cygwin (,, resolved in a proposed package update)
- pyenv (,, open)

So this appears to be a documentation / user education issue in CPython.
Date User Action Args
2022-01-14 18:38:16matthiaskoeppesetrecipients: + matthiaskoeppe, docs@python
2022-01-14 18:38:16matthiaskoeppesetmessageid: <>
2022-01-14 18:38:16matthiaskoeppelinkissue46381 messages
2022-01-14 18:38:16matthiaskoeppecreate