Fix for 1st half of #2203
[ghc-hetmet.git] / compiler / Makefile.ghcbin
index acad611..379a725 100644 (file)
@@ -19,10 +19,11 @@ endif
 
 EXCLUDED_C_SRCS += ghc-inplace.c
 
+SRC_HC_OPTS += -Wall
 SRC_HC_OPTS += -package ghc
 SRC_HC_OPTS += -Istage$(stage)
 SRC_HC_OPTS += \
-  -cpp -fglasgow-exts -fno-generics -Rghc-timing \
+  -cpp -fglasgow-exts -XNoGenerics -Rghc-timing \
   -I. -IcodeGen -InativeGen -Iparser
 SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage$(stage)HcOpts)
 ifeq "$(TargetOS_CPP)" "openbsd"