equal
deleted
inserted
replaced
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, Oracle and/or its affiliates. All rights reserved. |
22 # Copyright (c) 2011, 2012, 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 PARFAIT_BUILD=no |
24 |
28 |
25 include ../../make-rules/shared-macros.mk |
29 include ../../make-rules/shared-macros.mk |
26 |
30 |
27 COMPONENT_NAME= cmake |
31 COMPONENT_NAME= cmake |
28 COMPONENT_VERSION= 2.8.6 |
32 COMPONENT_VERSION= 2.8.6 |
45 |
49 |
46 # We need these in the environment, although they are already passed |
50 # We need these in the environment, although they are already passed |
47 # as CONFIGURE_OPTIONS; otherwise the correct compilers are not used |
51 # as CONFIGURE_OPTIONS; otherwise the correct compilers are not used |
48 CONFIGURE_ENV += CC="$(CC)" |
52 CONFIGURE_ENV += CC="$(CC)" |
49 CONFIGURE_ENV += CXX="$(CXX)" |
53 CONFIGURE_ENV += CXX="$(CXX)" |
|
54 ifeq ($(strip $(PARFAIT_BUILD)),yes) |
|
55 CONFIGURE_ENV += CXXFLAGS="-library=stdcxx4" |
|
56 endif |
50 CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)" |
57 CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)" |
51 CONFIGURE_ENV += MAKE="$(GMAKE)" |
58 CONFIGURE_ENV += MAKE="$(GMAKE)" |
52 |
59 |
53 # Use system-installed third-party libraries, rather than the private |
60 # Use system-installed third-party libraries, rather than the private |
54 # copies in the cmake source. Only libarchive will come from the cmake |
61 # copies in the cmake source. Only libarchive will come from the cmake |