[Pkg-haskell-commits] darcs: ghc: Do not pass -mlong-calls to gcc on arm, on the grounds that upstream is not doing it.

Joachim Breitner mail at joachim-breitner.de
Mon Dec 1 09:37:35 UTC 2014


Mon Dec  1 08:41:16 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Do not pass -mlong-calls to gcc on arm, on the grounds that upstream is not doing it.

    M ./changelog -1 +2
    M ./rules -3

Mon Dec  1 08:41:16 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Do not pass -mlong-calls to gcc on arm, on the grounds that upstream is not doing it.
diff -rN -u old-ghc/changelog new-ghc/changelog
--- old-ghc/changelog	2014-12-01 09:37:34.912482831 +0000
+++ new-ghc/changelog	2014-12-01 09:37:34.932482830 +0000
@@ -1,7 +1,8 @@
 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... 
+  * Do not pass -mlong-calls to gcc on arm, on the grounds that upstream is
+    not doing it.
 
  -- Joachim Breitner <nomeata at debian.org>  Sun, 30 Nov 2014 22:17:39 +0100
 
diff -rN -u old-ghc/rules new-ghc/rules
--- old-ghc/rules	2014-12-01 09:37:34.908482832 +0000
+++ new-ghc/rules	2014-12-01 09:37:34.928482831 +0000
@@ -61,9 +61,6 @@
 	echo "SRC_HC_OPTS += -lffi -optl-pthread" >> mk/build.mk
 	echo "HADDOCK_DOCS := YES" >> mk/build.mk
 	echo "XSLTPROC_OPTS += --nonet" >> mk/build.mk
-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     += -optl-B/usr/bin/ld.gold" >> mk/build.mk
 endif




More information about the Pkg-haskell-commits mailing list