CFLAGS are not taken into account properly

Toon Knapen "reverse[nepank.noot]" at fft.be
Wed May 17 09:40:40 CEST 2006


To configure python on a Solaris 9 box with sunstudio11 installed and to 
compile it in 64bit, I execute following:

<code>
export CC=cc
export CFLAGS="-xarch=v9"
export CXX=CC
export CXXFLAGS="-xarch=v9"
export F77=f77
export FFLAGS="-xarch=v9"
export LDFLAGS="-xarch=v9"
./configure
</code>


When doing 'make' afterwards, the '-xarch=v9' option is not on the 
command-line however? Should'nt the CFLAGS be propagated to the Makefile 
that is generated by configure? Or is there any other way to do this?

Thanks in advance,

toon



More information about the Python-list mailing list