diff --git a/zlib/zlib.cabal b/zlib/zlib.cabal index 8ad9bcf..7493fdb 100644 --- a/zlib/zlib.cabal +++ b/zlib/zlib.cabal @@ -130,4 +130,6 @@ test-suite tests tasty >= 0.8 && < 1.6, tasty-quickcheck >= 0.8 && < 1 ghc-options: -Wall - --with-rtsopts="-M1G" + + if impl(ghc >= 9.4) + ghc-options: "-with-rtsopts=-M1G"