Reverting last change; joerg has a better approach

This commit is contained in:
adam 2011-05-19 06:09:36 +00:00
parent f68971e6cf
commit dde94184d6
1 changed files with 2 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.665 2011/05/18 13:08:14 adam Exp $
# $NetBSD: bsd.own.mk,v 1.666 2011/05/19 06:09:36 adam Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@ -47,7 +47,7 @@ NEED_OWN_INSTALL_TARGET?= yes
TOOLCHAIN_MISSING?= no
# default to GCC4
.if !defined(HAVE_GCC) && !defined(HAVE_PCC) && !defined(HAVE_LLVM)
.if !defined(HAVE_GCC) && !defined(HAVE_PCC)
HAVE_GCC= 4
.endif
@ -207,14 +207,6 @@ FC= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-f77
OBJC= false
.endif
.if defined(HAVE_LLVM) && ${USETOOLS_LLVM:Uyes} == "yes"
CC= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-clang
CPP= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-clang-cpp
CXX= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-clang++
FC= false
OBJC= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-clang
.endif
#
# Make sure DESTDIR is set, so that builds with these tools always
# get appropriate -nostdinc, -nostdlib, etc. handling. The default is