From 5282be2aa37162b935340d49d66a4710ca7531fa Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 24 Jun 2013 21:13:58 +0000 Subject: [PATCH] gcc: configuration fix. -Fix configuration support for FreeBSD 10 and 11. Note this change is based on GCC-SVN-131197 with permission by gerald@ . Reported by: jmallet --- contrib/gcc/config.gcc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/gcc/config.gcc b/contrib/gcc/config.gcc index 2e1c10f4f74f..0cd7b91b1fda 100644 --- a/contrib/gcc/config.gcc +++ b/contrib/gcc/config.gcc @@ -428,9 +428,9 @@ case ${target} in tm_defines="${tm_defines} FBSD_MAJOR=8" ;; *-*-freebsd9 | *-*-freebsd[9].*) tm_defines="${tm_defines} FBSD_MAJOR=9" ;; - *-*-freebsd10 | *-*-freebsd[10].*) + *-*-freebsd10 | *-*-freebsd10.*) tm_defines="${tm_defines} FBSD_MAJOR=10" ;; - *-*-freebsd11 | *-*-freebsd[11].*) + *-*-freebsd11 | *-*-freebsd11.*) tm_defines="${tm_defines} FBSD_MAJOR=11" ;; *) echo 'Please update *-*-freebsd* in gcc/config.gcc'