Date: Fri, 3 Jun 2016 21:24:42 +0000 (UTC) From: Andreas Tobler <andreast@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416337 - in head/lang: gcc/files gcc49/files gcc5/files gcc6-aux/files Message-ID: <201606032124.u53LOgCZ008724@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andreast (src committer) Date: Fri Jun 3 21:24:41 2016 New Revision: 416337 URL: https://svnweb.freebsd.org/changeset/ports/416337 Log: Skip armv6hf support and move it into armv6. Discussed with: gerald@ Added: head/lang/gcc/files/patch-armv6-hf-support (contents, props changed) head/lang/gcc49/files/patch-armv6-hf-support (contents, props changed) head/lang/gcc5/files/patch-armv6-hf-support (contents, props changed) head/lang/gcc6-aux/files/patch-armv6-hf-support (contents, props changed) Added: head/lang/gcc/files/patch-armv6-hf-support ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc/files/patch-armv6-hf-support Fri Jun 3 21:24:41 2016 (r416337) @@ -0,0 +1,17 @@ +--- gcc/config.gcc.orig 2016-05-25 22:53:15.930993000 +0200 ++++ gcc/config.gcc 2016-05-25 22:54:06.087115000 +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} Added: head/lang/gcc49/files/patch-armv6-hf-support ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc49/files/patch-armv6-hf-support Fri Jun 3 21:24:41 2016 (r416337) @@ -0,0 +1,18 @@ +--- UTC +--- gcc/config.gcc.orig 2016-05-25 22:53:15.930993000 +0200 ++++ gcc/config.gcc 2016-05-25 22:54:06.087115000 +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} Added: head/lang/gcc5/files/patch-armv6-hf-support ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc5/files/patch-armv6-hf-support Fri Jun 3 21:24:41 2016 (r416337) @@ -0,0 +1,18 @@ +--- UTC +--- gcc/config.gcc.orig 2016-05-25 22:53:15.930993000 +0200 ++++ gcc/config.gcc 2016-05-25 22:54:06.087115000 +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} Added: head/lang/gcc6-aux/files/patch-armv6-hf-support ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc6-aux/files/patch-armv6-hf-support Fri Jun 3 21:24:41 2016 (r416337) @@ -0,0 +1,17 @@ +--- gcc/config.gcc.orig 2016-05-25 22:53:15.930993000 +0200 ++++ gcc/config.gcc 2016-05-25 22:54:06.087115000 +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?201606032124.u53LOgCZ008724>