Index: ghc/aclocal.m4
===================================================================
--- ghc.orig/aclocal.m4	2015-07-26 09:39:02.929372765 +0200
+++ ghc/aclocal.m4	2015-07-26 09:39:02.925372588 +0200
@@ -553,6 +553,10 @@
         $3="$$3 -D_HPUX_SOURCE"
         $5="$$5 -D_HPUX_SOURCE"
         ;;
+    arm*)
+        # On arm, link using gold
+        $3="$$3 -fuse-ld=gold"
+        ;;
     esac
 
     # If gcc knows about the stack protector, turn it off.
