Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2017 06:27:14 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437982 - head/lang/gcc/files
Message-ID:  <201704080627.v386REmG091058@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sat Apr  8 06:27:14 2017
New Revision: 437982
URL: https://svnweb.freebsd.org/changeset/ports/437982

Log:
  Copy over files/patch-disable-armvhf-config.gcc from lang/gcc5 to
  fix the armv6 bootstrap.
  
  Reported by:	andreast, jbeich

Added:
  head/lang/gcc/files/patch-disable-armvhf-config.gcc
     - copied unchanged from r437980, head/lang/gcc5/files/patch-disable-armvhf-config.gcc

Copied: head/lang/gcc/files/patch-disable-armvhf-config.gcc (from r437980, head/lang/gcc5/files/patch-disable-armvhf-config.gcc)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/gcc/files/patch-disable-armvhf-config.gcc	Sat Apr  8 06:27:14 2017	(r437982, copy of r437980, head/lang/gcc5/files/patch-disable-armvhf-config.gcc)
@@ -0,0 +1,18 @@
+--- UTC
+--- gcc/config.gcc.orig	2017-04-03 17:14:32.217141000 +0200
++++ gcc/config.gcc	2017-04-03 17:15:05.626375000 +0200
+@@ -1026,11 +1026,9 @@
+ 	case $target in
+ 	armv6*-*-freebsd*)
+ 	    tm_defines="${tm_defines} TARGET_FREEBSD_ARMv6=1"
+-	    ;;
+-	esac
+-	case $target in
+-	arm*hf-*-freebsd*)
+-	    tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
++	    if test $fbsd_major -ge 11; then
++               tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
++            fi
+ 	    ;;
+ 	esac
+ 	with_tls=${with_tls:-gnu}



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