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 cstratak
Recipients cstratak, dstufft, eric.araujo
Date 2018-11-15.16:14:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542298441.4.0.788709270274.issue35257@psf.upfronthosting.co.za>
In-reply-to
Content
Through acb8c5234302f8057b331abaafb2cc8697daf58f the CFLAGS_NODIST variable was created, in order to place there compiler flags used by the interpreter, but not intended to be propagated to C extensions.

I saw a similar issue when working on backporting 67e997bcfdac55191033d57a16d1408aL1313 on python 3.6, where the -flto flag should be passed to CFLAGS_NODIST instead of BASECFLAGS, however even if that is fixed, the LDFLAGS will still be propagated to C extensions.

Thus in order to provide more flexibility in that regard, I propose to add the LDFLAGS_NODIST variable, which in a similar vein as CFLAGS_NODIST, will hold the LDFLAGS intended to be used only by the interpreter.

Thoughts or comments on this approach?
History
Date User Action Args
2018-11-15 16:14:01cstrataksetrecipients: + cstratak, eric.araujo, dstufft
2018-11-15 16:14:01cstrataksetmessageid: <1542298441.4.0.788709270274.issue35257@psf.upfronthosting.co.za>
2018-11-15 16:14:01cstrataklinkissue35257 messages
2018-11-15 16:14:01cstratakcreate