This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients brett.cannon, christian.heimes, twouters, vstinner
Date 2021-10-22.13:21:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634908914.03.0.439923093863.issue45571@roundup.psfhosted.org>
In-reply-to
Content
I think that makesetup uses the wrong CFLAGS variable for shared modules. The script uses PY_CFLAGS:

    no)     cc="$cc \$(CCSHARED) \$(PY_CFLAGS) \$(PY_CPPFLAGS)";;

while setup.py uses PY_CFLAGS_NODIST:

    set_compiler_flags('CFLAGS', 'PY_CFLAGS_NODIST')

The flags are similar but not equal. Amongst others PY_CFLAGS does not include Include/internal while PY_CFLAGS_NODIST has -I./Include/internal.
History
Date User Action Args
2021-10-22 13:21:54christian.heimessetrecipients: + christian.heimes, twouters, brett.cannon, vstinner
2021-10-22 13:21:54christian.heimessetmessageid: <1634908914.03.0.439923093863.issue45571@roundup.psfhosted.org>
2021-10-22 13:21:54christian.heimeslinkissue45571 messages
2021-10-22 13:21:53christian.heimescreate