summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-02-25 16:06:46 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-28 01:16:38 -0400
commita9f3a5c67b8822aa32b2d158ae71698c19cffb32 (patch)
treeaa73a939092afc5ced6a30831258cc1f4ee48185 /ghc.mk
parentc832ae938e4f8cfd8ad2a0b06fa233df726175f6 (diff)
downloadhaskell-a9f3a5c67b8822aa32b2d158ae71698c19cffb32.tar.gz
Disable text's dependency on simdutf by default
Unfortunately we are simply not currently in a good position to robustly ship binary distributions which link against C++ code like simdutf. Fixes #20724.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 592e5fc0fd..3f5698d999 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -474,6 +474,10 @@ endif
# and executables. This flag disables the latter.
libraries/haskeline_CONFIGURE_OPTS += --flags=-examples
+# Disable text's dependency on simdutf due to packaging considerations
+# described in #20724.
+libraries/text_CONFIGURE_OPTS += --flags=-simdutf
+
libraries/ghc-bignum_CONFIGURE_OPTS += -f $(BIGNUM_BACKEND)
ifeq "$(BIGNUM_BACKEND)" "gmp"