components/check/Makefile
changeset 5179 07d5ad88cb1d
parent 4747 0e43ac303e45
child 5682 94c0ca64c022
equal deleted inserted replaced
5178:39289ddbd44e 5179:07d5ad88cb1d
    44 # Several tests fail when the Studio compiler is used.
    44 # Several tests fail when the Studio compiler is used.
    45 COMPILER =      gcc
    45 COMPILER =      gcc
    46 
    46 
    47 CC +=		$(CC_BITS)
    47 CC +=		$(CC_BITS)
    48 
    48 
       
    49 # Override tests in m4/acx_pthread.m4 that try to set obsolete/incompatible
       
    50 # flags for linking threaded code on Solaris.
       
    51 PTHREAD_CFLAGS = -D__EXTENSIONS__
       
    52 ifeq ($(BUILD_TYPE), evaluation)
       
    53 # No longer needed on S12 due to PSARC/2014/019, but still needed on S11
       
    54 PTHREAD_CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
       
    55 endif
       
    56 CONFIGURE_OPTIONS += PTHREAD_CFLAGS="$(PTHREAD_CFLAGS)"
       
    57 CONFIGURE_OPTIONS += PTHREAD_LIBS="-lc"
       
    58 
    49 # Master test results are the same for 32-bit and 64-bit, so override
    59 # Master test results are the same for 32-bit and 64-bit, so override
    50 # here, rather than create multiple identical master files.
    60 # here, rather than create multiple identical master files.
    51 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
    61 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
    52 
    62 
    53 COMPONENT_TEST_TRANSFORMS += \
    63 COMPONENT_TEST_TRANSFORMS += \