equal
deleted
inserted
replaced
16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
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 # Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 |
23 |
24 # |
24 # |
25 # Rules and Macros for building opens source software that uses configure / |
25 # Rules and Macros for building opens source software that uses configure / |
26 # GNU auto* tools to configure their build for the system they are on. This |
26 # GNU auto* tools to configure their build for the system they are on. This |
88 $(BUILD_DIR_32)/.configured: BITS=32 |
88 $(BUILD_DIR_32)/.configured: BITS=32 |
89 $(BUILD_DIR_64)/.configured: BITS=64 |
89 $(BUILD_DIR_64)/.configured: BITS=64 |
90 |
90 |
91 CONFIGURE_ENV += $(CONFIGURE_ENV.$(BITS)) |
91 CONFIGURE_ENV += $(CONFIGURE_ENV.$(BITS)) |
92 |
92 |
|
93 # temporarily work around some issues |
|
94 CONFIGURE_ENV += "ac_cv_func_realloc_0_nonnull=yes" |
|
95 COMPONENT_BUILD_ENV += "ac_cv_func_realloc_0_nonnull=yes" |
|
96 |
93 # configure the unpacked source for building 32 and 64 bit version |
97 # configure the unpacked source for building 32 and 64 bit version |
94 CONFIGURE_SCRIPT = $(SOURCE_DIR)/configure |
98 CONFIGURE_SCRIPT = $(SOURCE_DIR)/configure |
95 $(BUILD_DIR)/%/.configured: $(SOURCE_DIR)/.prep |
99 $(BUILD_DIR)/%/.configured: $(SOURCE_DIR)/.prep |
96 ($(RM) -rf $(@D) ; $(MKDIR) $(@D)) |
100 ($(RM) -rf $(@D) ; $(MKDIR) $(@D)) |
97 $(COMPONENT_PRE_CONFIGURE_ACTION) |
101 $(COMPONENT_PRE_CONFIGURE_ACTION) |