summaryrefslogtreecommitdiff
path: root/mk/compiler.mk
diff options
context:
space:
mode:
authorgrant <grant>2004-10-06 09:49:53 +0000
committergrant <grant>2004-10-06 09:49:53 +0000
commit04bc4c133fecf5694268bd349ec23907764772bc (patch)
tree4b26f3cb130461689143842f824311bc77841416 /mk/compiler.mk
parent86f0bd0d6c57dd70e3c975c234652e10a708185d (diff)
downloadpkgsrc-04bc4c133fecf5694268bd349ec23907764772bc.tar.gz
add initial support for IBM's XL C/C++ compiler. tested with version
6.0 on Mac OS X 10.3.5. to use XL C, set PKGSRC_COMPILER=xlc in mk.conf. XLCBASE defaults to /opt/ibmcmp/vacpp/6.0 (the default installation location on OS X), this can be overridden in mk.conf too. this is a work in progress - some simple packages can be built, but there are still lots of issues that need to be worked through.
Diffstat (limited to 'mk/compiler.mk')
-rw-r--r--mk/compiler.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk
index 58708537b3b..cb147f8e914 100644
--- a/mk/compiler.mk
+++ b/mk/compiler.mk
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.35 2004/09/21 15:01:39 jlam Exp $
+# $NetBSD: compiler.mk,v 1.36 2004/10/06 09:49:53 grant Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -17,6 +17,7 @@
# mipspro-ucode Silicon Graphics, Inc. MIPSpro (o32)
# sunpro Sun Microsystems, Inc. WorkShip/Forte/Sun
# ONE Studio
+# xlc IBM's XL C/C++ compiler suite
#
# The default is "gcc". You can use ccache and/or distcc with an
# appropriate PKGSRC_COMPILER setting, e.g. "ccache distcc gcc".
@@ -88,7 +89,7 @@ PKGSRC_COMPILER?= gcc
_USE_PKGSRC_GCC= yes
.endif
-_COMPILERS= gcc mipspro mipspro-ucode sunpro
+_COMPILERS= gcc mipspro mipspro-ucode sunpro xlc
_PSEUDO_COMPILERS= ccache distcc
.if defined(NOT_FOR_COMPILER) && !empty(NOT_FOR_COMPILER)