From: Ian Lynagh Date: Tue, 4 Sep 2007 14:03:24 +0000 (+0000) Subject: Always turn on -Wall -Werror when compiling the compiler, even for stage 1 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=219bad9f267df236f6f48b3bd453c50090745ed4;p=ghc-hetmet.git Always turn on -Wall -Werror when compiling the compiler, even for stage 1 --- diff --git a/compiler/Makefile b/compiler/Makefile index 3e14087..dd96bff 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -165,9 +165,7 @@ odir=stage$(stage) SRC_HC_OPTS += $(patsubst %, -i$(odir)/%, $(ALL_DIRS)) -ifneq "$(stage)" "1" SRC_HC_OPTS += -Wall -fno-warn-name-shadowing -endif HS_OBJS = $(patsubst %, $(odir)/%, $(addsuffix .$(way_)o,$(basename $(HS_SRCS)))) C_OBJS = $(patsubst %, $(odir)/%, $(addsuffix .$(way_)o,$(basename $(C_SRCS))))