pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2006Q4]: pkgsrc/mk/compiler Pullup ticket 2045 - requested by ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/991491ee0215
branches: pkgsrc-2006Q4
changeset: 523056:991491ee0215
user: salo <salo%pkgsrc.org@localhost>
date: Thu Mar 08 23:22:07 2007 +0000
description:
Pullup ticket 2045 - requested by gavan
require GCC version 3.x for C99 functionality
Revisions pulled up:
- pkgsrc/mk/compiler/gcc.mk 1.89
Module Name: pkgsrc
Committed By: gavan
Date: Mon Jan 8 19:29:45 UTC 2007
Modified Files:
pkgsrc/mk/compiler: gcc.mk
Log Message:
gcc2 does not support -std=c99. If c99 is needed, require
at least gcc 3.0.
diffstat:
mk/compiler/gcc.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4c89e1696284 -r 991491ee0215 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk Wed Mar 07 07:41:18 2007 +0000
+++ b/mk/compiler/gcc.mk Thu Mar 08 23:22:07 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.88 2006/12/15 12:46:24 martti Exp $
+# $NetBSD: gcc.mk,v 1.88.2.1 2007/03/08 23:22:07 salo Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -12,6 +12,11 @@
GCC_REQD+= 2.8.0
+# gcc2 doesn't support c99
+.if !empty(USE_LANGUAGES:Mc99)
+GCC_REQD+= 3.0
+.endif
+
# _GCC_DIST_VERSION is the highest version of GCC installed by the pkgsrc
# without the PKGREVISIONs.
#
Home |
Main Index |
Thread Index |
Old Index