summaryrefslogtreecommitdiff
path: root/lang/gcc/Makefile
diff options
context:
space:
mode:
authorsalo <salo>2002-12-12 02:01:06 +0000
committersalo <salo>2002-12-12 02:01:06 +0000
commit6f0fe6cde7fbbcdd05ac54681d99d1eb70ab276c (patch)
tree765f7d88cde9d97ef5b9caaddaa500f3bd085b5f /lang/gcc/Makefile
parent9afa3a743e14e03b82f34c5e9be51a0548643341 (diff)
downloadpkgsrc-6f0fe6cde7fbbcdd05ac54681d99d1eb70ab276c.tar.gz
Check if $CC is defined first, next comparison breaks otherwise.
Diffstat (limited to 'lang/gcc/Makefile')
-rw-r--r--lang/gcc/Makefile4
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}