[Pkg-haskell-commits] darcs: ghc: debian/rules: Build with -mminimal-toc on ppc64 — thanks to Colin Watson for investigation and patch.
laney at ubuntu.com
laney at ubuntu.com
Tue Mar 8 11:13:28 UTC 2011
Tue Mar 8 11:12:30 UTC 2011 laney at ubuntu.com
* debian/rules: Build with -mminimal-toc on ppc64 [_\e2_][_\80_][_\94_] thanks to Colin Watson for investigation and patch.
Ignore-this: 7570f0cb741e7969ed74715641715637
M ./changelog +7
M ./rules +4
Tue Mar 8 11:12:30 UTC 2011 laney at ubuntu.com
* debian/rules: Build with -mminimal-toc on ppc64 — thanks to Colin Watson for investigation and patch.
Ignore-this: 7570f0cb741e7969ed74715641715637
diff -rN -u old-ghc/changelog new-ghc/changelog
--- old-ghc/changelog 2011-03-08 11:13:27.958329265 +0000
+++ new-ghc/changelog 2011-03-08 11:13:27.982330529 +0000
@@ -1,3 +1,10 @@
+ghc (7.0.2-3) UNRELEASED; urgency=low
+
+ * debian/rules: Build with -mminimal-toc on ppc64 — thanks to Colin
+ Watson for investigation and patch.
+
+ -- Iain Lane <laney at ubuntu.com> Tue, 08 Mar 2011 11:11:37 +0000
+
ghc (7.0.2-2) experimental; urgency=low
[ Joachim Breitner ]
diff -rN -u old-ghc/rules new-ghc/rules
--- old-ghc/rules 2011-03-08 11:13:27.958329265 +0000
+++ new-ghc/rules 2011-03-08 11:13:27.978330319 +0000
@@ -55,6 +55,10 @@
ifneq (,$(findstring $(DEB_HOST_ARCH), arm armel))
echo "SRC_HC_OPTS += -optc-mlong-calls" >> mk/build.mk
endif
+# proper fix for #360177
+ifeq (ppc64,$(DEB_HOST_ARCH))
+ echo "SRC_HC_OPTS += -optc-mminimal-toc" >> mk/build.mk
+endif
ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
# echo "GhcStage1HcOpts += -DDEBUG" >> mk/build.mk
# echo "GhcStage2HcOpts += -DDEBUG" >> mk/build.mk
More information about the Pkg-haskell-commits
mailing list