on iko/ghcjs-patch-master help sign in
specialize aggressively
commitc42d5c56beecb06b577ef246033472252f3d9581 authoriko <ilyakooo0@gmail.com> dateSat 4 Dec 2021, 09:22 (5 years ago) parentc82a006
1 file changed+3−2
compiler/ghcjs/patches/810/boot-optimization-flags.patch+3−2
compiler/ghcjs/patches/810/boot-optimization-flags.patch+3−2
@@ -1,13 +1,14 @@
11diff --git a/src-bin/Boot.hs b/src-bin/Boot.hs
2−index 2e35a26..1f4ff98 100755
2+index 2e35a26..5db2f9b 100755
33--- a/src-bin/Boot.hs
44+++ b/src-bin/Boot.hs
5−@@ -721,6 +721,8 @@ cabalConfigureFlags = do
5+@@ -721,6 +721,9 @@ cabalConfigureFlags = do
66 , "--prefix", T.pack (locs ^. blGhcjsTopDir)
77 , "--configure-option", "--host=js-unknown-ghcjs"
88 , "--ghcjs-options=-fwrite-ide-info"
99+ , "--ghcjs-options=-O2"
1010+ , "--ghcjs-options=-fexpose-all-unfoldings"
11++ , "--ghcjs-options=-fspecialise-aggressively"
1112 , "--enable-debug-info"
1213 , "--disable-library-stripping"
1314 , "--disable-executable-stripping"