Module Name: src Committed By: pooka Date: Thu Nov 22 21:41:23 UTC 2012
Modified Files: src/share/mk: bsd.own.mk Log Message: Support clang as EXTERNAL_TOOLCHAIN To generate a diff of this commit: cvs rdiff -u -r1.713 -r1.714 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.713 src/share/mk/bsd.own.mk:1.714 --- src/share/mk/bsd.own.mk:1.713 Tue Nov 20 10:43:21 2012 +++ src/share/mk/bsd.own.mk Thu Nov 22 21:41:22 2012 @@ -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_CPP.gcc= ${EXTERNAL_TOOLCHAIN}/bin 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" # {