components/python/twisted/Makefile
changeset 3497 091183b2cc24
parent 1948 2d1537e7942d
child 3744 a74b6fa1af7a
equal deleted inserted replaced
3495:135c9369f1dc 3497:091183b2cc24
    48 COMPONENT_TEST_CMD= $(@D)/scripts-$(PYTHON_VERSION)/trial twisted
    48 COMPONENT_TEST_CMD= $(@D)/scripts-$(PYTHON_VERSION)/trial twisted
    49 COMPONENT_TEST_ARGS=""
    49 COMPONENT_TEST_ARGS=""
    50 
    50 
    51 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    51 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    52 
    52 
    53 # Needed to get around a broken /usr/lib/python2.7/config/Makefile
       
    54 # See CR #16837431.
       
    55 LD=$(CC)
       
    56 LDSHARED=$(CC) -G
       
    57 PYTHON_ENV += CC="$(CC)"
       
    58 PYTHON_ENV += LDSHARED="$(LDSHARED)"
       
    59 PYTHON_ENV += LD="$(LD)"
       
    60 PYTHON_ENV += CFLAGS="$(CFLAGS)"
       
    61 COMPONENT_INSTALL_ENV += $(PYTHON_ENV)
       
    62 
       
    63 # common targets
    53 # common targets
    64 build:		$(BUILD_32_and_64)
    54 build:		$(BUILD_32_and_64)
    65 
    55 
    66 install:	$(INSTALL_32_and_64)
    56 install:	$(INSTALL_32_and_64)
    67 
    57