components/python/python27/Makefile
changeset 7095 6469e6424607
parent 6903 9681a8af4330
child 7516 09c933391a1b
equal deleted inserted replaced
7094:61352b4e5af5 7095:6469e6424607
    68 # because python links with $(CC) ... $(LDFLAGS) ...
    68 # because python links with $(CC) ... $(LDFLAGS) ...
    69 LDFLAGS =	$(CC_BITS) $(CC_PIC)
    69 LDFLAGS =	$(CC_BITS) $(CC_PIC)
    70 
    70 
    71 # build pic
    71 # build pic
    72 CFLAGS +=	$(CC_PIC)
    72 CFLAGS +=	$(CC_PIC)
       
    73 
       
    74 # for DWARF
       
    75 CFLAGS.i386 =	-preserve_argvalues=complete
       
    76 CFLAGS +=	$(CFLAGS.$(MACH))
    73 
    77 
    74 # The python build is profile-guided for studio; to see the benefits of that,
    78 # The python build is profile-guided for studio; to see the benefits of that,
    75 # Python must be compiled with -xO5 and a different build target must be used.
    79 # Python must be compiled with -xO5 and a different build target must be used.
    76 # Use of xprofile requires that the same options be used during compilation and
    80 # Use of xprofile requires that the same options be used during compilation and
    77 # linking.  The targets chosen are based on Solaris 11 minimum supported system
    81 # linking.  The targets chosen are based on Solaris 11 minimum supported system