pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc3-c/files Set the CC variable to .../bin/gcc (...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24b6dd297013
branches:  trunk
changeset: 475594:24b6dd297013
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Thu May 20 15:05:46 2004 +0000

description:
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).

diffstat:

 lang/gcc3-c/files/gcc3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r 3bd2319b7833 -r 24b6dd297013 lang/gcc3-c/files/gcc3.mk
--- a/lang/gcc3-c/files/gcc3.mk Thu May 20 12:49:09 2004 +0000
+++ b/lang/gcc3-c/files/gcc3.mk Thu May 20 15:05:46 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index