Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 21:13:58 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252179 - head/contrib/gcc
Message-ID:  <201306242113.r5OLDwKx039237@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Mon Jun 24 21:13:58 2013
New Revision: 252179
URL: http://svnweb.freebsd.org/changeset/base/252179

Log:
  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

Modified:
  head/contrib/gcc/config.gcc

Modified: head/contrib/gcc/config.gcc
==============================================================================
--- head/contrib/gcc/config.gcc	Mon Jun 24 20:58:54 2013	(r252178)
+++ head/contrib/gcc/config.gcc	Mon Jun 24 21:13:58 2013	(r252179)
@@ -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'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306242113.r5OLDwKx039237>