diff options
author | salo <salo@pkgsrc.org> | 2002-12-12 02:01:06 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2002-12-12 02:01:06 +0000 |
commit | d2aa7622e7706977c201332ebe47d04a0faef4bf (patch) | |
tree | 765f7d88cde9d97ef5b9caaddaa500f3bd085b5f /lang/gcc | |
parent | ff8fa61e07666ba1f4ec03096b913b978df587a8 (diff) | |
download | pkgsrc-d2aa7622e7706977c201332ebe47d04a0faef4bf.tar.gz |
Check if $CC is defined first, next comparison breaks otherwise.
Diffstat (limited to 'lang/gcc')
-rw-r--r-- | lang/gcc/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 838c330902c..b1f98f8b146 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.50 2002/12/05 05:52:53 grant Exp $ +# $NetBSD: Makefile,v 1.51 2002/12/12 02:01:06 salo Exp $ # Make sure that the version number in "Makefile.gcc" matches this. DISTNAME= gcc-2.95.3 @@ -35,7 +35,7 @@ INFO_FILES= chill.info cpp.info g77.info gcc.info .if ${OPSYS} == "SunOS" CONFLICTS+= gcc-[0-9]* pgcc-[0-9]* -. if ${CC} != "gcc" +. if defined(CC) && (${CC} != "gcc") ALL_TARGET= bootstrap . endif GCC_PREFIX= ${PREFIX} |