diff options
author | Ben Gamari <ben@smart-cactus.org> | 2018-07-30 20:48:21 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-07-31 11:48:19 -0400 |
commit | 80b8540b8ce99036acd26d76052bd603cd68fd0b (patch) | |
tree | 5f1250ffc6d565f19411df28f77bb0f34e8b63b6 /rts | |
parent | 3a065617b168813ec7e356ddd4eb25d125e9ff59 (diff) | |
download | haskell-80b8540b8ce99036acd26d76052bd603cd68fd0b.tar.gz |
rts: Disable -fkeep-inline-functions due to lack of support on Clang
But keep it as a comment since it is quite useful yet not very discoverable.
Diffstat (limited to 'rts')
-rw-r--r-- | rts/ghc.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 7de796ab08..532c9aa175 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -155,8 +155,9 @@ rts_dist_$1_CC_OPTS := $$(GhcRtsCcOpts) ifneq "$$(findstring debug, $1)" "" rts_dist_$1_HC_OPTS += -O0 rts_dist_$1_CC_OPTS += -fno-omit-frame-pointer -O0 -g3 -# Useful to ensure that inline functions can be called within GDB -rts_dist_$1_CC_OPTS += -fkeep-inline-functions +# Useful to ensure that inline functions can be called within GDB but not +# supported by clang +#rts_dist_$1_CC_OPTS += -fkeep-inline-functions endif ifneq "$$(findstring dyn, $1)" "" |