Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Support clang as EXTERNAL_TOOLCHAIN
details: https://anonhg.NetBSD.org/src/rev/10e9ffd547b8
branches: trunk
changeset: 782849:10e9ffd547b8
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Nov 22 21:41:22 2012 +0000
description:
Support clang as EXTERNAL_TOOLCHAIN
diffstat:
share/mk/bsd.own.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 402164fbf7ea -r 10e9ffd547b8 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Thu Nov 22 21:23:08 2012 +0000
+++ b/share/mk/bsd.own.mk Thu Nov 22 21:41:22 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.713 2012/11/20 10:43:21 apb Exp $
+# $NetBSD: bsd.own.mk,v 1.714 2012/11/22 21:41:22 pooka Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -192,6 +192,11 @@
TOOL_CXX.gcc= ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-c++
TOOL_FC.gcc= ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-g77
TOOL_OBJC.gcc= ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-gcc
+
+TOOL_CC.clang= ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-clang
+TOOL_CPP.clang= ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-clang-cpp
+TOOL_CXX.clang= ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-clang++
+TOOL_OBJC.clang= ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-clang
.else # } {
# Define default locations for common tools.
.if ${USETOOLS_BINUTILS:Uyes} == "yes" # {
Home |
Main Index |
Thread Index |
Old Index