The NXCC (native C compiler) misnamed OBJFORMATPATH, it neesd to be
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 26 Mar 2004 21:57:23 +0000 (21:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 26 Mar 2004 21:57:23 +0000 (21:57 +0000)
OBJFORMAT_PATH, causing 'missing crt1.o' from ld in the buildworld
includes stage.

share/mk/sys.mk

index bd2cb5d..73bb9e0 100644 (file)
@@ -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.6 2004/03/22 20:58:15 dillon Exp $
+# $DragonFly: src/share/mk/sys.mk,v 1.7 2004/03/26 21:57:23 dillon Exp $
 
 unix           ?=      We run FreeBSD, not UNIX.
 
@@ -42,7 +42,7 @@ 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           ?=      OBJFORMATPATH=/ ${CC}
+NXCC           ?=      OBJFORMAT_PATH=/ ${CC}
 CFLAGS         ?=      -O -pipe
 
 CXX            ?=      c++