aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cabal/cabal-0001-force-ld.gold.patch
diff options
context:
space:
mode:
authorMitch Tishmack <mitch.tishmack@gmail.com>2017-02-20 18:21:49 -0600
committerJakub Jirutka <jakub@jirutka.cz>2017-03-06 01:29:44 +0100
commit7b77f555f33d24768afdbcae3a209fcf8b3611fd (patch)
tree1faa818fcb34313ec2308acc754ee82a7a570711 /testing/cabal/cabal-0001-force-ld.gold.patch
parentb686016696350ad9b797274850c48809be02ac46 (diff)
downloadaports-7b77f555f33d24768afdbcae3a209fcf8b3611fd.tar.bz2
aports-7b77f555f33d24768afdbcae3a209fcf8b3611fd.tar.xz
testing/cabal: new aport
Add an initial version of cabal-install, aka the cabal package manager for ghc. Note this version uses bootstrap.sh, this is a temporary measure until I can get APKBUILD files generated for ghc pkgs.
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..a58ce571ac
--- /dev/null
+++ b/testing/cabal/cabal-0001-force-ld.gold.patch
@@ -0,0 +1,10 @@
+--- a/bootstrap.sh
++++ a/bootstrap.sh
+@@ -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 ||