summaryrefslogtreecommitdiff
path: root/p/ghc
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-12-01 11:40:03 +0300
committerJoachim Breitner <mail@joachim-breitner.de>2014-12-01 11:40:03 +0300
commit7380a91039af4a5773b1e2e81c5a9d14c63cf9f0 (patch)
tree8e5000a3f3c89ac4e25aab92a9d2af95fa757f1d /p/ghc
parentcb13199d42a897f92bb2fbf4e261db8c56aee542 (diff)
downloadDHG_packages-7380a91039af4a5773b1e2e81c5a9d14c63cf9f0.tar.gz
ghc: According to Ben Gamari, the flag is -optl-B..., not -optc-B...
Diffstat (limited to 'p/ghc')
-rw-r--r--p/ghc/debian/changelog1
-rwxr-xr-xp/ghc/debian/rules2
2 files changed, 2 insertions, 1 deletions
diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index 38a5b7f06..c48e37d87 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -1,6 +1,7 @@
ghc (7.8.20141119-6) UNRELEASED; urgency=medium
* Do not pass -mlong-calls to gcc on arm64.
+ * According to Ben Gamari, the flag is -optl-B..., not -optc-B...
-- Joachim Breitner <nomeata@debian.org> Sun, 30 Nov 2014 22:17:39 +0100
diff --git a/p/ghc/debian/rules b/p/ghc/debian/rules
index ce02cf085..e2f20d359 100755
--- a/p/ghc/debian/rules
+++ b/p/ghc/debian/rules
@@ -65,7 +65,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH), armel armhf))
echo "SRC_HC_OPTS += -optc-mlong-calls" >> mk/build.mk
endif
ifneq (,$(findstring $(DEB_HOST_ARCH), arm64 armel armhf))
- echo "SRC_HC_OPTS += -optc-B/usr/bin/ld.gold" >> mk/build.mk
+ echo "SRC_HC_OPTS += -optl-B/usr/bin/ld.gold" >> mk/build.mk
endif
ifeq (armhf,$(DEB_HOST_ARCH))
echo "SRC_HC_OPTS += -D__ARM_PCS_VFP" >> mk/build.mk