➜

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.

作者 christian.heimes
收信人 brett.cannon, christian.heimes, twouters, vstinner
日期 2021-10-22.13:21:53
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1634908914.03.0.439923093863.issue45571@roundup.psfhosted.org>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2021-10-22 13:21:54christian.heimes修改recipients: + christian.heimes, twouters, brett.cannon, vstinner
2021-10-22 13:21:54christian.heimes修改messageid: <1634908914.03.0.439923093863.issue45571@roundup.psfhosted.org>
2021-10-22 13:21:54christian.heimes链接issue45571 messages
2021-10-22 13:21:53christian.heimes创建