Message186408
| Author |
bkabrda |
| Recipients |
bkabrda |
| Date |
2013年04月09日.13:51:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1365515508.55.0.936246153534.issue17679@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When compiling Python 3.3.1, I noticed that some variables like LDFLAGS or CFLAGS in sysconfig have some flags multiple times. (Which BTW breaks distutils.tests.{test_sysconfig_compiler_vars,test_sysconfig_module}) This is caused by interpretation of Makefile in sysconfig._parse_makefile(), which seems to evaluate the variables in Makefile - but some variables in Makefile are formed by expanding env variables multiple times, e.g.:
PY_LDFLAGS= $(CONFIGURE_LDFLAGS) $(LDFLAGS)
CONFIGURE_LDFLAGS= @LDFLAGS@
so when doing the build from scratch with configure & make, PY_LDFLAGS gets the content of LDFLAGS twice (as far as I remember autotools...), CFLAGS gets expanded like 5 times at least.
I think that this is not the correct behaviour, but not sure, maybe I'm doing something wrong.
Thanks. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年04月09日 13:51:48 | bkabrda | set | recipients:
+ bkabrda |
| 2013年04月09日 13:51:48 | bkabrda | set | messageid: <1365515508.55.0.936246153534.issue17679@psf.upfronthosting.co.za> |
| 2013年04月09日 13:51:48 | bkabrda | link | issue17679 messages |
| 2013年04月09日 13:51:48 | bkabrda | create |
|