From f8a5dd05ed50fe46eb86f30dc12f4c341b980e61 Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Mon, 29 Feb 2016 13:49:05 +0100 Subject: [PATCH] Only add -fshow-warning-groups for ghc >= 7.11 (#10752) --- testsuite/mk/test.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk index 97ceb39..6d9a4c2 100644 --- a/testsuite/mk/test.mk +++ b/testsuite/mk/test.mk @@ -34,7 +34,7 @@ endif # TEST_HC_OPTS is passed to every invocation of TEST_HC # in nested Makefiles -TEST_HC_OPTS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -fshow-warning-groups -no-user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS) +TEST_HC_OPTS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS) # The warning suppression flag below is a temporary kludge. While working with # tests that contain tabs, please de-tab them so this flag can be eventually @@ -48,6 +48,7 @@ ifeq "$(MinGhcVersion711)" "YES" # Don't warn about missing specialisations. They can only occur with `-O`, but # we want tests to produce the same output for all test ways. TEST_HC_OPTS += -fno-warn-missed-specialisations +TEST_HC_OPTS += -fshow-warning-groups endif RUNTEST_OPTS = -- 1.9.1