components/python/python27/Makefile
branchs11-update
changeset 3978 adf3ab1a234a
parent 3795 cfd59dfe98a2
child 3980 a5c4d6759ee0
equal deleted inserted replaced
3977:3ede7a3f6483 3978:adf3ab1a234a
    82 XPROFILE_DIR = $(BUILD_DIR_$(BITS))/.profile
    82 XPROFILE_DIR = $(BUILD_DIR_$(BITS))/.profile
    83 PYFLAGS.i386 = -xtarget=opteron -xarch=sse2 -xcache=generic
    83 PYFLAGS.i386 = -xtarget=opteron -xarch=sse2 -xcache=generic
    84 PYFLAGS.sparc =
    84 PYFLAGS.sparc =
    85 CFLAGS += -xO5 $(PYFLAGS.$(MACH))
    85 CFLAGS += -xO5 $(PYFLAGS.$(MACH))
    86 LDFLAGS += -xO5 $(PYFLAGS.$(MACH))
    86 LDFLAGS += -xO5 $(PYFLAGS.$(MACH))
    87 
       
    88 # add /usr/gnu/lib to the library search/run path
       
    89 LDFLAGS.32 = -R/usr/gnu/lib -L/usr/gnu/lib
       
    90 LDFLAGS.64 = -R/usr/gnu/lib/$(MACH64) -L/usr/gnu/lib/$(MACH64)
       
    91 LDFLAGS += $(LDFLAGS.$(BITS))
       
    92 
    87 
    93 # Python puts its header files in a special place.
    88 # Python puts its header files in a special place.
    94 LINT_FLAGS +=	-I$(SOURCE_DIR)/Include
    89 LINT_FLAGS +=	-I$(SOURCE_DIR)/Include
    95 
    90 
    96 # PYTHONPATH in the environment can be harmful, but setting it to empty via
    91 # PYTHONPATH in the environment can be harmful, but setting it to empty via