[project @ 2001-02-28 10:53:30 by rrt]
authorrrt <unknown>
Wed, 28 Feb 2001 10:53:30 +0000 (10:53 +0000)
committerrrt <unknown>
Wed, 28 Feb 2001 10:53:30 +0000 (10:53 +0000)
Modernize

ghc/tests/deriving/should_compile/Makefile
ghc/tests/deriving/should_run/Makefile
ghc/tests/deriving/should_run/drvrun008.hs

index d2bdb36..5144794 100644 (file)
@@ -2,6 +2,6 @@ TOP = ../..
 include $(TOP)/mk/boilerplate.mk
 include $(TOP)/mk/should_compile.mk
 
-SRC_HC_OPTS += -dcore-lint -nohi
+SRC_HC_OPTS += -dcore-lint
 
 include $(TOP)/mk/target.mk
index d39565d..1723332 100644 (file)
@@ -4,6 +4,8 @@ include $(TOP)/mk/should_run.mk
 
 SRC_HC_OPTS += -dcore-lint
 
+drvrun008_HC_OPTS += -funbox-strict-fields
+
 drvrun005_RUNTEST_OPTS += -fail
 
 include $(TOP)/mk/target.mk
index 5a857d0..7fe7799 100644 (file)
@@ -1,5 +1,4 @@
-{-# OPTIONS -funbox-strict-fields #-}
--- !!! Check that -funbox-strict-fields doesn't mess up deriving
+-- !!! Check that -funbox-strict-fields doesn't mess up deriving (can't be in an options pragma, it's in the Makefile)
 -- !!!  (it did in 4.04)
 
 module Main( main ) where