[Python-Dev] What are these defines doing in OPT?

Skip Montanaro skip@pobox.com (Skip Montanaro)
Thu, 12 Jul 2001 10:09:36 -0500


I just tried Fred's distutils.sysconfig.OPT thing, which failed.  I then
poked around and found distutils.sysconf.get_config_var.  That wouldn't work
because I hadn't installed the 2.2 interpreter (there is as yet no
/usr/local/lib/python2.2).  So, I finall just grepped my Makefile for OPT
and found this definition:

    OPT=  -g -O2 -Wall -Wstrict-prototypes -Dss_family=__ss_family -Dss_len=__ss_len

What are those -D flags doing in OPT?  Shouldn't they be in CPPFLAGS or
CFLAGS? 

Skip