[commit: ghc] ghc-8.2: build.mk: Disable -g by default (1767f54)

git at git.haskell.org git at git.haskell.org
Fri Jun 16 21:00:35 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/1767f542a73b05c8821d61a60cdc0aae102a8cd4/ghc

>---------------------------------------------------------------

commit 1767f542a73b05c8821d61a60cdc0aae102a8cd4
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Jun 11 10:13:44 2017 -0400

    build.mk: Disable -g by default


>---------------------------------------------------------------

1767f542a73b05c8821d61a60cdc0aae102a8cd4
 mk/build.mk.sample | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 685d83c..6bceca3 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -83,8 +83,8 @@ endif
 # This is necessary, for instance, to get DWARF stack traces out of programs
 # built by the produced compiler. You must also pass --enable-dwarf-unwind to
 # `configure` to enable the runtime system's builtin unwinding support.
-GhcLibHcOpts += -g3
-GhcRtsHcOpts += -g3
+#GhcLibHcOpts += -g3
+#GhcRtsHcOpts += -g3
 
 # Build the "extra" packages (see ./packages). This enables more tests. See:
 # https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages



More information about the ghc-commits mailing list