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 skrah
Recipients Arfrever, brett.cannon, eric.araujo, jyasskin, lemburg, loewis, mark.dickinson, pitrou, ronaldoussoren, skrah, tarek
Date 2010-08-16.22:08:11
SpamBayes Score 1.8365101e-05
Marked as misclassified No
Message-id <1281996493.42.0.580506698914.issue9189@psf.upfronthosting.co.za>
In-reply-to
Content
This is what happens. In the Makefile, I have:

CONFIGURE_LDFLAGS=      -fprofile-arcs
PY_LDFLAGS=     $(CONFIGURE_LDFLAGS) $(LDFLAGS)


But since LDFLAGS=-fprofile-arcs is in the environment, too, we get the
duplication.

The sysconfig issue is related. In Lib/sysconfig.py, _parse_makefile
grabs LDFLAGS from the environment if it is set, so LDFLAGS ultimately
expands to '-fprofile-arcs -fprofile-arcs'.
History
Date User Action Args
2010-08-16 22:08:13skrahsetrecipients: + skrah, lemburg, loewis, brett.cannon, ronaldoussoren, mark.dickinson, pitrou, jyasskin, tarek, eric.araujo, Arfrever
2010-08-16 22:08:13skrahsetmessageid: <1281996493.42.0.580506698914.issue9189@psf.upfronthosting.co.za>
2010-08-16 22:08:11skrahlinkissue9189 messages
2010-08-16 22:08:11skrahcreate