Diff below fixes the build on arm64.  Pretty much the same change that
was also made for arm.  No version bump since the port didn't build
before right?

ok?


Index: devel/arm-none-eabi/gcc-linaro/patches/patch-gcc_config_host
===================================================================
RCS file: 
/cvs/ports/devel/arm-none-eabi/gcc-linaro/patches/patch-gcc_config_host,v
retrieving revision 1.2
diff -u -p -r1.2 patch-gcc_config_host
--- devel/arm-none-eabi/gcc-linaro/patches/patch-gcc_config_host        8 May 
2017 09:04:54 -0000       1.2
+++ devel/arm-none-eabi/gcc-linaro/patches/patch-gcc_config_host        15 May 
2018 11:14:14 -0000
@@ -1,6 +1,16 @@
 $OpenBSD: patch-gcc_config_host,v 1.2 2017/05/08 09:04:54 patrick Exp $
---- gcc/config.host.orig       Wed Feb 15 01:14:41 2017
-+++ gcc/config.host    Wed May  3 09:48:11 2017
+Index: gcc/config.host
+--- gcc/config.host.orig
++++ gcc/config.host
+@@ -99,7 +99,7 @@ case ${host} in
+ esac
+ 
+ case ${host} in
+-  aarch64*-*-freebsd* | aarch64*-*-linux*)
++  aarch64*-*-*)
+     case ${target} in
+       aarch64*-*-*)
+       host_extra_gcc_objs="driver-aarch64.o"
 @@ -107,7 +107,7 @@ case ${host} in
        ;;
      esac

Reply via email to