summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-20 22:33:13 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-20 22:33:13 +0000
commit2e22c2b477574c22986277392d61018448709d60 (patch)
tree8400aa660895932879bf0c09607b4fea81854ba6 /unix
parent7674da8057b5236373345350acd2a7513377d393 (diff)
downloadmicropython-2e22c2b477574c22986277392d61018448709d60.tar.gz
micropython-2e22c2b477574c22986277392d61018448709d60.zip
unix: Move compiler warnings from production build to coverage build.
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 6da5f6a175..912cf1bc98 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -19,7 +19,7 @@ INC += -I$(BUILD)
# compiler settings
CWARN = -Wall -Werror
-CWARN += -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wuninitialized -Wunused-parameter
+CWARN += -Wdouble-promotion -Wpointer-arith -Wuninitialized
CFLAGS = $(INC) $(CWARN) -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA)
# Debugging/Optimization
@@ -136,7 +136,7 @@ minimal:
# build an interpreter for coverage testing and do the testing
coverage:
@echo Make sure to run make -B
- $(MAKE) COPT="-O0" CFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
+ $(MAKE) COPT="-O0" CFLAGS_EXTRA='-fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wuninitialized -Wunused-parameter' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
coverage_test: coverage
$(eval DIRNAME=$(notdir $(CURDIR)))