diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-05-13 18:34:48 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-05-13 22:22:42 -0400 |
commit | d4abd031f6e8c2fa01f8949f60d8a02cca513804 (patch) | |
tree | ad11ff0cc241e093916a01e11ed274af2cf95168 /rts/ghc.mk | |
parent | cdbe00fe24e25f7ba06d15990a37ba4f3f6098ab (diff) | |
download | haskell-d4abd031f6e8c2fa01f8949f60d8a02cca513804.tar.gz |
rts: Compile with gcc -Og
This optimisation level is specifically designed to provide the benefits
of optimisation without the obfuscation that sometimes results.
Test Plan: Validate
Reviewers: simonmar
Reviewed By: simonmar
Subscribers: rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4675
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r-- | rts/ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index e96e14760b..2976b0aac9 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -153,7 +153,7 @@ rts_dist_$1_CC_OPTS := $$(GhcRtsCcOpts) # The per-way CC_OPTS ifneq "$$(findstring debug, $1)" "" rts_dist_$1_HC_OPTS += -O0 -rts_dist_$1_CC_OPTS += -fno-omit-frame-pointer -g -O0 +rts_dist_$1_CC_OPTS += -fno-omit-frame-pointer -g -Og endif ifneq "$$(findstring dyn, $1)" "" |