[Git][haskell-team/DHG_packages][master] haskell-isocline: fix build failure on loongarch64 (Closes: #1071152)

Gianfranco Costamagna (@locutusofborg) gitlab at salsa.debian.org
Tue Aug 13 13:21:15 BST 2024



Gianfranco Costamagna pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
faf9f8e3 by Gianfranco Costamagna at 2024-08-13T14:20:30+02:00
haskell-isocline: fix build failure on loongarch64 (Closes: #1071152)

Peng Fan <fanpeng at loongson.cn>

- - - - -


2 changed files:

- p/haskell-isocline/debian/changelog
- p/haskell-isocline/debian/rules


Changes:

=====================================
p/haskell-isocline/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-isocline (1.0.9-3) UNRELEASED; urgency=medium
+
+  [ Peng Fan <fanpeng at loongson.cn> ]
+  * Use extra --ghc-options in d/rules on loong64 (Closes: #1071152)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 13 Aug 2024 14:20:02 +0200
+
 haskell-isocline (1.0.9-2) unstable; urgency=medium
 
   * Post-NEW source-only upload


=====================================
p/haskell-isocline/debian/rules
=====================================
@@ -5,5 +5,9 @@ DEB_SETUP_BIN_NAME = debian/hlibrary.setup
 DEB_CABAL_PACKAGE = isocline
 DEB_DEFAULT_COMPILER = ghc
 
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), loong64))
+  DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc-mcmodel=medium"
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/faf9f8e3063bbcc7d038e26df207a77f13586831

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/faf9f8e3063bbcc7d038e26df207a77f13586831
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20240813/6db68821/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list