From ac93d77b3a1a635986593aca2ac81912f569e15c Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 3 Apr 2004 23:07:14 +0000 Subject: [PATCH] Cleanup NXENV so it works properly when running buildworld from FreeBSD. --- share/mk/sys.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 73bb9e01f4..bf0c8910b0 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -1,6 +1,6 @@ # from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 # $FreeBSD: src/share/mk/sys.mk,v 1.45.2.6 2002/12/23 16:33:37 ru Exp $ -# $DragonFly: src/share/mk/sys.mk,v 1.7 2004/03/26 21:57:23 dillon Exp $ +# $DragonFly: src/share/mk/sys.mk,v 1.8 2004/04/03 23:07:14 dillon Exp $ unix ?= We run FreeBSD, not UNIX. @@ -42,7 +42,8 @@ CC ?= cc # The system cc frontend is not subject to the path, e.g. when buildworld # is doing cross compiles it may still need the native compiler for things. # -NXCC ?= OBJFORMAT_PATH=/ ${CC} +NXENV ?= OBJFORMAT_PATH=/ MAKEOBJDIRPREFIX= PATH=/usr/bin:/bin:/usr/sbin:/sbin +NXCC ?= ${NXENV} ${CC} CFLAGS ?= -O -pipe CXX ?= c++ -- 2.41.0