aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2015-03-22 22:41:45 +0000
committerDamien George2015-03-22 22:41:45 +0000
commit4a8556ca582d3df5add890cd16acc78480bd1158 (patch)
tree5831324671484f46b66fc954932060d5f1b41386
parent8657342973b8c92f88ba0ac3913c721e521b83c0 (diff)
unix: Remove -Wdouble-promotion from main build, and 2 from coverage.
The 2 removed from coverage build are: -Wredundant-decls and -Wstrict-prototypes.
-rw-r--r--unix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 83ba7b7b3..403f9295f 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -19,7 +19,7 @@ INC += -I$(BUILD)
# compiler settings
CWARN = -Wall -Werror
-CWARN += -Wdouble-promotion -Wpointer-arith -Wuninitialized
+CWARN += -Wpointer-arith -Wuninitialized
CFLAGS = $(INC) $(CWARN) -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA)
# Debugging/Optimization
@@ -133,7 +133,7 @@ minimal:
# build an interpreter for coverage testing and do the testing
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
+ $(MAKE) COPT="-O0" CFLAGS_EXTRA='-fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wuninitialized -Wunused-parameter' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
coverage_test: coverage
$(eval DIRNAME=$(notdir $(CURDIR)))