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
commitc51f31d0a84295cb12c72159151fcfb1de1a2c9b (patch)
tree2dbbaeac23027cc5fa57aa9529887d7b0690d9a6
parentf9bf086fdc01104ae78581f36e578ad323dcafd1 (diff)
downloadpkgsrc-c51f31d0a84295cb12c72159151fcfb1de1a2c9b.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