projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7fc749a
)
Always turn on -Wall -Werror when compiling the compiler, even for stage 1
author
Ian Lynagh
<igloo@earth.li>
Tue, 4 Sep 2007 14:03:24 +0000
(14:03 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 4 Sep 2007 14:03:24 +0000
(14:03 +0000)
compiler/Makefile
patch
|
blob
|
history
diff --git
a/compiler/Makefile
b/compiler/Makefile
index
3e14087
..
dd96bff
100644
(file)
--- 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))))