Commit 019ad00f authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Set -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2

parent 17b297d9
......@@ -165,6 +165,10 @@ 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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment