X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2FMakefile;h=8e3c88b8f17ebc2a9b64fb44c7ea5d142c5ac9a7;hb=13dffdda06cf06d5b178ee9d41c829d203ad1b95;hp=230dae540ffce5f63958675c7d31b433b853f963;hpb=43f56cdf26f945d068975fa5a372ca87755d9791;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index 230dae5..8e3c88b 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -160,12 +160,7 @@ odir=stage$(stage) SRC_HC_OPTS += $(patsubst %, -i$(odir)/%, $(ALL_DIRS)) -SRC_HC_OPTS += -Wall -fno-warn-name-shadowing -# Turn off orphan warnings, but only if the flag exists (i.e. not if we -# are building stage 1 and using GHC < 6.3). -ifneq "$(stage)" "1 NO" -SRC_HC_OPTS += -fno-warn-orphans -endif +SRC_HC_OPTS += -Wall -fno-warn-name-shadowing -fno-warn-orphans HS_OBJS = $(patsubst %, $(odir)/%, $(addsuffix .$(way_)o,$(basename $(HS_SRCS)))) C_OBJS = $(patsubst %, $(odir)/%, $(addsuffix .$(way_)o,$(basename $(C_SRCS))))