summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-05-20 15:05:46 +0000
committerjschauma <jschauma@pkgsrc.org>2004-05-20 15:05:46 +0000
commit0b38d8a366e20fbaa6e30cd55825d8f013f002cf (patch)
tree2dbbaeac23027cc5fa57aa9529887d7b0690d9a6
parent4b097aee35e5ca4f79e2f7da0dc0f5a018496c50 (diff)
downloadpkgsrc-0b38d8a366e20fbaa6e30cd55825d8f013f002cf.tar.gz
Set the CC variable to .../bin/gcc (not .../bin/cc): on some systems,
there exists a 'cc', leading to buildlink creating a 'cc' wrapper pointing to the original 'cc', which then won't work with the gcc flags, while the 'gcc' wrapper does work (since packages simply call 'cc' (or 'gcc') and rely on buildlink having prepended the path to the right wrapper).
-rw-r--r--lang/gcc3-c/files/gcc3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc3-c/files/gcc3.mk b/lang/gcc3-c/files/gcc3.mk
index c11f30a777f..edde4d8ad47 100644
--- a/lang/gcc3-c/files/gcc3.mk
+++ b/lang/gcc3-c/files/gcc3.mk
@@ -1,6 +1,6 @@
-# $NetBSD: gcc3.mk,v 1.5 2003/09/16 15:47:21 drochner Exp $
+# $NetBSD: gcc3.mk,v 1.6 2004/05/20 15:05:46 jschauma Exp $
#
# make configuration file for @PKGNAME@
-CC= @GCC_PREFIX@/bin/cc
+CC= @GCC_PREFIX@/bin/gcc
CPP= @GCC_PREFIX@/bin/cpp