diff options
author | ahoka <ahoka> | 2010-09-23 22:26:06 +0000 |
---|---|---|
committer | ahoka <ahoka> | 2010-09-23 22:26:06 +0000 |
commit | dd10b3e4648bd22c03686bbe728df271cefaec65 (patch) | |
tree | d308a995aa626f38ab588843bb885e1df05144b6 /mk/compiler.mk | |
parent | 8e60a776211737ab9dbf06acff3f06bd105ff462 (diff) | |
download | pkgsrc-dd10b3e4648bd22c03686bbe728df271cefaec65.tar.gz |
Add support for clang.
Diffstat (limited to 'mk/compiler.mk')
-rw-r--r-- | mk/compiler.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk index 1d65e7237a3..7907e9c344b 100644 --- a/mk/compiler.mk +++ b/mk/compiler.mk @@ -1,4 +1,4 @@ -# $NetBSD: compiler.mk,v 1.71 2010/07/30 07:58:58 asau Exp $ +# $NetBSD: compiler.mk,v 1.72 2010/09/23 22:26:06 ahoka Exp $ # # This Makefile fragment implements handling for supported C/C++/Fortran # compilers. @@ -12,6 +12,7 @@ # Valid values are: # ccc Compaq C Compilers (Tru64) # ccache compiler cache (chainable) +# clang Clang C and Objective−C compiler # distcc distributed C/C++ (chainable) # f2c Fortran 77 to C compiler (chainable) # icc Intel C++ Compiler (Linux) @@ -101,7 +102,8 @@ COMPILER_USE_SYMLINKS?= yes _USE_PKGSRC_GCC= yes .endif -_COMPILERS= ccc gcc icc ido mipspro mipspro-ucode sunpro xlc hp pcc +_COMPILERS= ccc gcc icc ido mipspro mipspro-ucode \ + sunpro xlc hp pcc clang _PSEUDO_COMPILERS= ccache distcc f2c g95 .if defined(NOT_FOR_COMPILER) && !empty(NOT_FOR_COMPILER) |