use SRC_HC_OPTS, not HC_OPTS.
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_compile.mk
-HC_OPTS += -noC -dcore-lint -fglasgow-exts
+SRC_HC_OPTS += -noC -dcore-lint -fglasgow-exts
# Note that these tests are still in a state of flux... don't believe errors
# they report. In fact, these aren't really very good tests at all...
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_fail.mk
-HC_OPTS += -noC -fglasgow-exts
+SRC_HC_OPTS += -noC -fglasgow-exts
include $(TOP)/mk/target.mk
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_run.mk
-HC_OPTS += -dcore-lint
+SRC_HC_OPTS += -dcore-lint
cg012_HC_OPTS = -fglasgow-exts
cg015_HC_OPTS = -fglasgow-exts
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_compile.mk
-HC_OPTS += -noC -dcore-lint
+SRC_HC_OPTS += -noC -dcore-lint
ds035_HC_OPTS = -fglasgow-exts
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_compile.mk
-HC_OPTS += -noC -dcore-lint -nohi
+SRC_HC_OPTS += -noC -dcore-lint -nohi
include $(TOP)/mk/target.mk
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_fail.mk
-HC_OPTS += -noC
+SRC_HC_OPTS += -noC
include $(TOP)/mk/target.mk
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_run.mk
-HC_OPTS += -dcore-lint
+SRC_HC_OPTS += -dcore-lint
include $(TOP)/mk/target.mk
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_compile.mk
-HC_OPTS += -noC -dcore-lint -hi-with-declarations -hi-with-exports -hi-with-instances -hi-with-fixities -ddump-tc
+SRC_HC_OPTS += -noC -dcore-lint -hi-with-declarations -hi-with-exports -hi-with-instances -hi-with-fixities -ddump-tc
print002_HC_OPTS = -fno-implicit-prelude
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_fail.mk
-HC_OPTS += -noC -ddump-rdr
+SRC_HC_OPTS += -noC -ddump-rdr
include $(TOP)/mk/target.mk
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_compile.mk
-HC_OPTS += -noC -dcore-lint
+SRC_HC_OPTS += -noC -dcore-lint
rn017_HC_OPTS = -hi
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_fail.mk
-HC_OPTS += -noC
+SRC_HC_OPTS += -noC
include $(TOP)/mk/target.mk
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_compile.mk
-HC_OPTS += -noC -dcore-lint
+SRC_HC_OPTS += -noC -dcore-lint
include $(TOP)/mk/target.mk
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_compile.mk
-HC_OPTS += -noC -dcore-lint -fno-warn-incomplete-patterns -hi-with-declarations -hi-with-instances -hi-with-exports
+SRC_HC_OPTS += -noC -dcore-lint -fno-warn-incomplete-patterns -hi-with-declarations -hi-with-instances -hi-with-exports
tc019_HC_OPTS = -fglasgow-exts
tc065_HC_OPTS = -syslib misc
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_fail.mk
-HC_OPTS += -noC
+SRC_HC_OPTS += -noC
tcfail045_HC_OPTS = -fglasgow-exts
tcfail068_HC_OPTS = -fglasgow-exts
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/should_run.mk
-HC_OPTS += -dcore-lint
+SRC_HC_OPTS += -dcore-lint
include $(TOP)/mk/target.mk