projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX #711 implement osFreeAllMBlocks for unix
[ghc-hetmet.git]
/
rts
/
ghc.mk
diff --git
a/rts/ghc.mk
b/rts/ghc.mk
index
69b03d1
..
9c33896
100644
(file)
--- a/
rts/ghc.mk
+++ b/
rts/ghc.mk
@@
-23,9
+23,6
@@
ALL_RTS_LIBS = $(foreach way,$(rts_WAYS),rts/dist/build/libHSrts$($(way)_libsuf)
rts/dist/build/libHSrtsmain.a
all_rts : $(ALL_RTS_LIBS)
rts/dist/build/libHSrtsmain.a
all_rts : $(ALL_RTS_LIBS)
-# The per-dir options
-$(eval $(call distdir-opts,rts,dist))
-
# -----------------------------------------------------------------------------
# Defining the sources
# -----------------------------------------------------------------------------
# Defining the sources
@@
-131,7
+128,12
@@
$(foreach way,$(rts_WAYS),$(eval $(call build-rts-way,$(way))))
# Flags for compiling every file
# We like plenty of warnings.
# Flags for compiling every file
# We like plenty of warnings.
-WARNING_OPTS += -Wall -Wextra
+WARNING_OPTS += -Wall
+ifeq "$(GccLT34)" "YES"
+WARNING_OPTS += -W
+else
+WARNING_OPTS += -Wextra
+endif
WARNING_OPTS += -Wstrict-prototypes
WARNING_OPTS += -Wmissing-prototypes
WARNING_OPTS += -Wmissing-declarations
WARNING_OPTS += -Wstrict-prototypes
WARNING_OPTS += -Wmissing-prototypes
WARNING_OPTS += -Wmissing-declarations