diff -ru gccxml-0.9.0+git20140716.orig/GCC/gcc/config.gcc gccxml-0.9.0+git20140716/GCC/gcc/config.gcc --- gccxml-0.9.0+git20140716.orig/GCC/gcc/config.gcc +++ gccxml-0.9.0+git20140716/GCC/gcc/config.gcc @@ -2,6 +2,12 @@ # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. +# Kludge for building on arm64: +if test x$target = xaarch64-unknown-linux-gnu +then + target=powerpc64le-unknown-linux-gnu +fi + #This file is part of GCC. #GCC is free software; you can redistribute it and/or modify it under