components/getopt/Makefile
changeset 1394 5f86498eee95
parent 1211 72f88619e71d
child 1948 2d1537e7942d
--- a/components/getopt/Makefile	Fri Jul 12 09:55:54 2013 -0700
+++ b/components/getopt/Makefile	Fri Jul 12 14:16:05 2013 -0700
@@ -40,13 +40,14 @@
 include ../../make-rules/ips.mk
 
 # getopt doesn't use configure, override the hard-wired values in the Makefile.
-COMPONENT_BUILD_ARGS+=	CC="$(SPRO_VROOT)/bin/cc $(CC_BITS)"
+CC += "$(CC_BITS)"
+COMPONENT_BUILD_ARGS+=	CC="$(CC)"
 COMPONENT_BUILD_ARGS+=	CFLAGS="$(CFLAGS)"
 COMPONENT_BUILD_ARGS+=	LIBCGETOPT=0
 
 COMPONENT_INSTALL_ARGS+=	prefix=/usr/gnu
 COMPONENT_INSTALL_ARGS+=	mandir=/usr/gnu/share/man
-COMPONENT_INSTALL_ARGS+=	CC="$(SPRO_VROOT)/bin/cc $(CC_BITS)"
+COMPONENT_INSTALL_ARGS+=	CC="$(CC)"
 COMPONENT_INSTALL_ARGS+=	CFLAGS="$(CFLAGS)"
 
 # Stupid source tarball distribution contains two .o files.