I am trying to compile python 32 bit on OSX. In order to do so, I want to specify -m32, so I dutifully specified
CFLAGS='-m32' LDFLAGS='-m32' ./configure
The configure executes correctly, but when I invoke make, the gcc execution has no trace of the -m32 flag. In order to have it, I had to do a more aggressive approach:
CFLAGS='-m32' LDFLAGS='-m32' CC='gcc -m32' ./configure
I don't really understand why the CFLAGS I specify are not passed (the LDFLAGS are. I find LDFLAG=-m32 in the Makefile). Is it an error of the configure script, or am I doing this wrong ?
I'm using python 2.6.0 (don't ask)