[Python-Dev] weird configure (autotools) setup
"Martin v. Löwis"
martin at v.loewis.de
Sat Apr 12 13:45:08 CEST 2008
Jeroen Ruigrok van der Werven wrote:
> Why is CFLAGS in Makefile.pre.in specified as
> CFLAGS= $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS)
> whereas that will negate any CFLAGS you pass to configure?
There is a long history to that. The short version is that configure
decides on its own what flags to pass to the compiler; that overrides
any CFLAGS passed by the users. There have been multiple patches over
the years to resolve this, eventually arriving at the status quo.
More information about the Python-Dev