[commit: ghc] wip/rwbarton-gold: TEST: Force use of gold linker (f176ae1)

git at git.haskell.org git at git.haskell.org
Thu Feb 16 00:30:58 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/rwbarton-gold
Link       : http://ghc.haskell.org/trac/ghc/changeset/f176ae1db68406ef7cc2aa9ef816c8fb054db902/ghc

>---------------------------------------------------------------

commit f176ae1db68406ef7cc2aa9ef816c8fb054db902
Author: Reid Barton <rwbarton at gmail.com>
Date:   Wed Feb 15 19:30:23 2017 -0500

    TEST: Force use of gold linker


>---------------------------------------------------------------

f176ae1db68406ef7cc2aa9ef816c8fb054db902
 aclocal.m4 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/aclocal.m4 b/aclocal.m4
index 3337215..23f72a8 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -672,6 +672,8 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
         $2="$$2 -fno-stack-protector"
     fi
 
+    $3="$$3 -fuse-ld=gold"
+
     rm -f conftest.c conftest.o
     AC_MSG_RESULT([done])
 ])



More information about the ghc-commits mailing list