17946612 Create 64-bit binaries for cdrtools
authorPhi Tran <Phi.N.Tran@Oracle.COM>
Wed, 19 Mar 2014 12:41:08 -0700
changeset 1770 a140478731c9
parent 1769 6de6146297a4
child 1771 69e31ffe55e7
17946612 Create 64-bit binaries for cdrtools 16431894 Enable ASLR for cdrtools
components/cdrtools/Makefile
--- a/components/cdrtools/Makefile	Tue Mar 18 11:06:50 2014 -0700
+++ b/components/cdrtools/Makefile	Wed Mar 19 12:41:08 2014 -0700
@@ -45,16 +45,22 @@
 include ../../make-rules/ips.mk
 
 COMPONENT_INSTALL_ARGS +=  GMAKE_NOWARN=true
+COMPONENT_INSTALL_ARGS +=  CCOM=cc64
 COMPONENT_BUILD_ARGS += GMAKE_NOWARN=true
 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
 COMPONENT_BUILD_ENV +=	"ac_cv_exeext=no"
 COMPONENT_BUILD_ENV +=	"ac_cv_objext=o"
 endif
-
+COMPONENT_BUILD_ARGS += CCOM=cc64
+# cdrtools doesn't work with gmake for sparc 64-bit compile.
+GMAKE = $(CCSMAKE)
 
-build:          $(BUILD_32)
+# Enable ASLR for this component
+ASLR_MODE =    $(ASLR_ENABLE)
 
-install:        $(INSTALL_32)
+build:          $(BUILD_64)
+
+install:        $(INSTALL_64)
 
 test:		$(NO_TESTS)