aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cabal/cabal-0001-force-ld.gold.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cabal/cabal-0001-force-ld.gold.patch')
-rw-r--r--testing/cabal/cabal-0001-force-ld.gold.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/cabal/cabal-0001-force-ld.gold.patch b/testing/cabal/cabal-0001-force-ld.gold.patch
new file mode 100644
index 0000000000..76a6a1528c
--- /dev/null
+++ b/testing/cabal/cabal-0001-force-ld.gold.patch
@@ -0,0 +1,10 @@
+--- a/bootstrap.sh.original 2016-02-10 06:45:52.000000000 -0600
++++ a/bootstrap.sh 2016-03-18 23:28:06.000000000 -0500
+@@ -74,6 +74,7 @@
+
+ # Fall back to "ld"... might work.
+ [ -$LINK- = -""- ] && LINK=ld
++LINK="ld.gold"
+
+ # And finally, see if we can compile and link something.
+ echo 'int main(){}' | $CC -xc - -o /dev/null ||