[Git][haskell-team/DHG_packages][master] hackage-security: Disable optimizations in 32bit systems
Ilias Tsitsimpis (@iliastsi)
gitlab at salsa.debian.org
Mon Oct 30 13:53:40 GMT 2023
Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
9363dc3e by Ilias Tsitsimpis at 2023-10-30T15:50:33+02:00
hackage-security: Disable optimizations in 32bit systems
- - - - -
2 changed files:
- p/haskell-hackage-security/debian/changelog
- p/haskell-hackage-security/debian/rules
Changes:
=====================================
p/haskell-hackage-security/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-hackage-security (0.6.2.3-2) unstable; urgency=medium
+
+ * Disable optimizations in 32bit systems
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org> Mon, 30 Oct 2023 15:48:42 +0200
+
haskell-hackage-security (0.6.2.3-1) unstable; urgency=medium
* Declare compliance with Debian policy 4.6.2
=====================================
p/haskell-hackage-security/debian/rules
=====================================
@@ -3,7 +3,13 @@
DEB_ENABLE_TESTS = yes
DEB_CABAL_PACKAGE = hackage-security
DEB_DEFAULT_COMPILER = ghc
-DEB_SETUP_GHC_CONFIGURE_ARGS := --flags="-lukko +base64 +use-network-uri"
+DEB_SETUP_GHC_CONFIGURE_ARGS := --flags="-lukko +use-network-uri +Cabal-syntax"
+
+# Disable optimizations on 32bit systems, tests fail otherwise
+# This looks like a GHC 9.4 bug
+ifeq ($(DEB_HOST_ARCH_BITS), 32)
+ DEB_SETUP_GHC_CONFIGURE_ARGS += -O0
+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/9363dc3ed0427dd0cb88e247aafde4fe5040a589
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/9363dc3ed0427dd0cb88e247aafde4fe5040a589
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/20231030/dce3631c/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list