summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2018-09-20 16:04:11 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2018-09-20 16:04:24 +0300
commit077b92fa39839a8e83cd87398435424403cf6486 (patch)
tree269196f96e0b38b7f82d067be84a4c8373543e7f /rts/ghc.mk
parent45befe27495b1a7bca037b6a3eedf2474a0204c8 (diff)
downloadhaskell-077b92fa39839a8e83cd87398435424403cf6486.tar.gz
Remove -Waggregate-return when building RTS
This causes slow validate build to fail (in Profiling.c:countTickss), and there's nothing wrong with struct returns. Reviewers: simonmar, bgamari, erikd Subscribers: rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5164
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 532c9aa175..ff3f18f30c 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -329,7 +329,6 @@ WARNING_OPTS += -Wstrict-prototypes
WARNING_OPTS += -Wmissing-prototypes
WARNING_OPTS += -Wmissing-declarations
WARNING_OPTS += -Winline
-WARNING_OPTS += -Waggregate-return
WARNING_OPTS += -Wpointer-arith
WARNING_OPTS += -Wmissing-noreturn
WARNING_OPTS += -Wnested-externs