summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin>2017-04-10 12:22:07 +0000
committerjperkin <jperkin>2017-04-10 12:22:07 +0000
commitc41941ffed9316e94c3a5da889defcb0c21db105 (patch)
tree9bd12c80d2572d586d084f23e8c916999b53cf62 /mk
parent48cbee5d819028d205740c6b01300a6ff915b28d (diff)
downloadpkgsrc-c41941ffed9316e94c3a5da889defcb0c21db105.tar.gz
Let GCC 4.4 handle requests for GCC 4.[0-4] to ensure we are consistent in
using the closest match for each request, as well as fixing platforms where GCC 6 does not yet build or is unsupported.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 0e83cb45dcd..58f2b4765e2 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.174 2016/12/29 23:16:26 maya Exp $
+# $NetBSD: gcc.mk,v 1.175 2017/04/10 12:22:07 jperkin Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -120,11 +120,11 @@ _GCC3_PATTERNS= 2.95.[4-9]* 2.95.[1-9][0-9]* 2.9[6-9] 2.9[6-9].* \
# _GCC34_PATTERNS matches N s.t. 3.4 <= N < 4.
_GCC34_PATTERNS= 3.[4-9] 3.[4-9].* 3.[1-9][0-9]*
-# _GCC44_PATTERNS matches N s.t. 4.4 <= N < 4.5.
-_GCC44_PATTERNS= 4.4 4.4.*
+# _GCC44_PATTERNS matches N s.t. 4.0 <= N < 4.5.
+_GCC44_PATTERNS= 4.[0-4] 4.[0-4].*
# _GCC48_PATTERNS matches N s.t. 4.5 <= N < 4.9.
-_GCC48_PATTERNS= 4.[5678] 4.[5678].*
+_GCC48_PATTERNS= 4.[5-8] 4.[5-8].*
# _GCC49_PATTERNS matches N s.t. 4.9 <= N < 4.10.
_GCC49_PATTERNS= 4.9 4.9.*