21124023 ACPIDUMP module needs to be converted to 64-bit
authorjulian.yuen@oracle.com <julian.yuen@oracle.com>
Thu, 04 Feb 2016 14:02:27 -0800
changeset 5401 f2be11bc1430
parent 5400 1199f8e91f50
child 5402 b677c836a58e
21124023 ACPIDUMP module needs to be converted to 64-bit
components/acpidump/Makefile
--- a/components/acpidump/Makefile	Sun Jan 31 19:31:13 2016 -0800
+++ b/components/acpidump/Makefile	Thu Feb 04 14:02:27 2016 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 COMPILER =	gcc
@@ -50,10 +50,11 @@
 include $(WS_MAKE_RULES)/justmake.mk
 include $(WS_MAKE_RULES)/ips.mk
 
-PKG_PROTO_DIRS += $(BUILD_DIR_32)
+PKG_PROTO_DIRS += $(BUILD_DIR_64)
 
-COMPONENT_BUILD_ENV  +=		CC=$(CC)
+CC +=	$(CC_BITS)
 
+COMPONENT_BUILD_ENV +=	CC="$(CC)"
 
 # common targets. we're i386-only so we have to
 # be slightly tricky.
@@ -61,7 +62,9 @@
 build_sparc:
 	@echo "Not available."
 
-build_i386:	$(BUILD_32)
+ASLR_MODE =	$(ASLR_ENABLE)
+
+build_i386:	$(BUILD_64)
 
 build:		build_$(MACH)