[Python-Dev] Proper place to put extra args for building

"Martin v. Löwis" martin at v.loewis.de
Thu Apr 21 08:14:55 CEST 2005


Brett C. wrote:
> Works for me.  If no one objects I will check in the change for CFLAGS to make
> it ``$(BASECFLAGS) $(OPT) "$EXTRA_CFLAGS"`` soon (is quoting it enough to make
> sure that it isn't evaluated by configure but left as a string to be evaluated
> by the shell when the Makefile is running?).

If you put it into Makefile.pre.in, the only thing to avoid that
configure evaluates is is not to use @FOO at . OTOH, putting a $
in front of it is not good enough for make: $EXTRA_CFLAGS evaluates
the variable E, and then appends XTRA_CFLAGS.

Regards,
Martin


More information about the Python-Dev mailing list