diff options
Diffstat (limited to 'testsuite/tests/driver/recomp008/Makefile')
-rw-r--r-- | testsuite/tests/driver/recomp008/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/testsuite/tests/driver/recomp008/Makefile b/testsuite/tests/driver/recomp008/Makefile index f1ade78434..8488a008b7 100644 --- a/testsuite/tests/driver/recomp008/Makefile +++ b/testsuite/tests/driver/recomp008/Makefile @@ -2,21 +2,17 @@ TOP=../../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/test.mk -# -fforce-recomp makes lots of driver tests trivially pass, so we -# filter it out from $(TEST_HC_OPTS). -TEST_HC_OPTS_NO_RECOMP = $(filter-out -fforce-recomp,$(TEST_HC_OPTS)) - Main.o : B.hi B.o : A.hi %.o : %.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -O -c $< -o $@ + '$(TEST_HC)' $(TEST_HC_OPTS) -O -c $< -o $@ # magic .hi rule: see rules/hi-rule.mk in the GHC source tree %.hi : %.o ; prog : A.o B.o Main.o - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -o prog A.o B.o Main.o + '$(TEST_HC)' $(TEST_HC_OPTS) -o prog A.o B.o Main.o clean : $(RM) *.hi *.o prog |