summaryrefslogtreecommitdiff
path: root/p/ghc
diff options
context:
space:
mode:
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