components/cmake/Makefile
branchs11-update
changeset 3464 57f7ad288af9
parent 2855 576d5a7857b7
child 3661 47545fb8aed4
equal deleted inserted replaced
3462:3fbdd7a202d6 3464:57f7ad288af9
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 
    20 
    21 #
    21 #
    22 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    22 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    23 #
    23 #
    24 
       
    25 # parfait seems to hang on libcmsysTestDynload.so.bc, so for
       
    26 # now we have to disable it.
       
    27 export PARFAIT_BUILD=no
       
    28 
    24 
    29 include ../../make-rules/shared-macros.mk
    25 include ../../make-rules/shared-macros.mk
    30 
    26 
    31 COMPONENT_NAME=		cmake
    27 COMPONENT_NAME=		cmake
    32 COMPONENT_VERSION=	2.8.6
    28 COMPONENT_VERSION=	2.8.6
    51 
    47 
    52 # We need these in the environment, although they are already passed
    48 # We need these in the environment, although they are already passed
    53 # as CONFIGURE_OPTIONS; otherwise the correct compilers are not used
    49 # as CONFIGURE_OPTIONS; otherwise the correct compilers are not used
    54 CONFIGURE_ENV +=	CC="$(CC)"	
    50 CONFIGURE_ENV +=	CC="$(CC)"	
    55 CONFIGURE_ENV +=	CXX="$(CXX)"	
    51 CONFIGURE_ENV +=	CXX="$(CXX)"	
    56 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    57 CONFIGURE_ENV +=	CXXFLAGS="-library=stdcxx4"	
       
    58 endif
       
    59 CONFIGURE_ENV +=	LDFLAGS="$(LDFLAGS)"	
    52 CONFIGURE_ENV +=	LDFLAGS="$(LDFLAGS)"	
    60 CONFIGURE_ENV +=	MAKE="$(GMAKE)"	
    53 CONFIGURE_ENV +=	MAKE="$(GMAKE)"	
    61 
    54 
    62 # Use system-installed third-party libraries, rather than the private
    55 # Use system-installed third-party libraries, rather than the private
    63 # copies in the cmake source.  Only libarchive will come from the cmake
    56 # copies in the cmake source.  Only libarchive will come from the cmake