diff options
author | salo <salo@pkgsrc.org> | 2003-07-09 08:22:22 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-07-09 08:22:22 +0000 |
commit | bf262a9684106c39f9eb92bc40570ec77c078c7e (patch) | |
tree | b46d2a6add880a3ee5a7a5d997f0db829521ffd1 /mk/bsd.prefs.mk | |
parent | b896065ccaa97194fcc852758e7bf3f416b04dc8 (diff) | |
download | pkgsrc-bf262a9684106c39f9eb92bc40570ec77c078c7e.tar.gz |
Introduce few new variables for (mostly) non-GCC compilers use with pkgsrc
so compiler-dependent settings can be set later.
USE_GCC2 - GNU Compiler Collection 2.x (default)
USE_GCC3 - GNU Compiler Collection 3.x (used already)
USE_MIPSPRO - Silicon Graphics, Inc. MIPSpro Compiler
USE_SUNPRO - Sun Microsystems, Inc. WorkShop/Forte/Sun ONE Studio
Compiler Collection
(Intel compilers on Linux, anyone? :) )
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index b160005e955..0664214d309 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.113 2003/06/05 00:23:29 jschauma Exp $ +# $NetBSD: bsd.prefs.mk,v 1.114 2003/07/09 08:22:22 salo Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -335,4 +335,18 @@ WRKDIR_BASENAME?= work WRKDIR?= ${BUILD_DIR}/${WRKDIR_BASENAME} +# Set the default compiler to GCC 2.x if different compiler is not selected. +# +# Valid compilers are: +# +# USE_GCC2 - GNU Compiler Collection 2.x +# USE_GCC3 - GNU Compiler Collection 3.x +# USE_MIPSPRO - Silicon Graphics, Inc. MIPSpro Compiler +# USE_SUNPRO - Sun Microsystems, Inc. WorkShop/Forte/Sun ONE Studio +# Compiler Collection +# +.if !defined(USE_GCC3) && !defined(USE_MIPSPRO) && !defined(USE_SUNPRO) +USE_GCC2= YES +.endif + .endif # BSD_PKG_MK |