svn commit: r416339 - head/lang/gcc5-aux/files
John Marino
freebsd.contact at marino.st
Fri Jun 3 22:51:07 UTC 2016
On 6/3/2016 11:31 PM, Andreas Tobler wrote:
> Author: andreast (src committer)
> Date: Fri Jun 3 21:31:04 2016
> New Revision: 416339
> URL: https://svnweb.freebsd.org/changeset/ports/416339
>
> Log:
> Skip armv6hf support and move it into armv6.
>
> Added:
> head/lang/gcc5-aux/files/patch-armv6-hf-support (contents, props changed)
>
> Added: head/lang/gcc5-aux/files/patch-armv6-hf-support
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/lang/gcc5-aux/files/patch-armv6-hf-support Fri Jun 3 21:31:04 2016 (r416339)
> @@ -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}
>
These aren't going to work.
I don't use regular patches, at all. They can interfere with the
generated diff-* aggregate patches. Any new patch should be pulled into
there.
But what are these patches really for? Ada doesn't build on ARM due to
the lack of a bootstrap compiler and interest. Should we just set
ONLY_FOR_ARCH because without Ada, people should probably use the stock
lang/gcc* ports.
John
More information about the svn-ports-head
mailing list