From 095c820ccdef125b599e00c4e8bb203a42388065 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Tue, 18 Oct 2022 13:30:32 +0200 Subject: [PATCH] Disabled split-sections --- NixSupport/haskell-packages/ihp-hsx.nix | 2 +- ihp.cabal | 1 - lib/IHP/Makefile.dist | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/NixSupport/haskell-packages/ihp-hsx.nix b/NixSupport/haskell-packages/ihp-hsx.nix index 1745a1621..0cc26f266 100644 --- a/NixSupport/haskell-packages/ihp-hsx.nix +++ b/NixSupport/haskell-packages/ihp-hsx.nix @@ -33,6 +33,6 @@ mkDerivation { license = lib.licenses.mit; enableLibraryForGhci = true; homepage = "https://ihp.digitallyinduced.com"; - configureFlags = ["--enable-optimization=2" "--enable-split-sections"]; + configureFlags = ["--enable-optimization=2"]; jailbreak = true; } diff --git a/ihp.cabal b/ihp.cabal index 2c19c4855..affcc67e3 100644 --- a/ihp.cabal +++ b/ihp.cabal @@ -167,7 +167,6 @@ common shared-properties -Winaccessible-code -Wmissed-specialisations -Wall-missed-specialisations - -split-sections library import: shared-properties diff --git a/lib/IHP/Makefile.dist b/lib/IHP/Makefile.dist index 6c44538ef..c56aca18e 100644 --- a/lib/IHP/Makefile.dist +++ b/lib/IHP/Makefile.dist @@ -84,7 +84,6 @@ PROD_GHC_OPTIONS+= -fspecialise-aggressively PROD_GHC_OPTIONS+= -fstatic-argument-transformation PROD_GHC_OPTIONS+= -fmax-worker-args=200 PROD_GHC_OPTIONS+= -with-rtsopts="-A512m -n4m -N" -PROD_GHC_OPTIONS+= -split-sections .DEFAULT_GOAL := help