From owner-svn-src-head@FreeBSD.ORG Mon Jun 24 21:13:58 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CA103876; Mon, 24 Jun 2013 21:13:58 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id BBF511053; Mon, 24 Jun 2013 21:13:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5OLDwk0039238; Mon, 24 Jun 2013 21:13:58 GMT (envelope-from pfg@svn.freebsd.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5OLDwKx039237; Mon, 24 Jun 2013 21:13:58 GMT (envelope-from pfg@svn.freebsd.org) Message-Id: <201306242113.r5OLDwKx039237@svn.freebsd.org> From: "Pedro F. Giffuni" Date: Mon, 24 Jun 2013 21:13:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252179 - head/contrib/gcc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 21:13:58 -0000 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'