aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-07-04 16:31:26 +0200
committerClifford Wolf <clifford@clifford.at>2015-07-04 16:31:26 +0200
commit4601fa23e9445d816bd47c68155c5f57dfdb42d4 (patch)
tree0d1959d9b13ad4418b248bcd687c90e871c15903 /Makefile
parent21da66db681e8234239381ac7f33c00edb0eeaac (diff)
downloadpicorv32-4601fa23e9445d816bd47c68155c5f57dfdb42d4.tar.gz
picorv32-4601fa23e9445d816bd47c68155c5f57dfdb42d4.zip
Added -Werror
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ff8408b..897f5cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
TEST_OBJS = $(addsuffix .o,$(basename $(wildcard tests/*.S)))
FIRMWARE_OBJS = firmware/start.o firmware/irq.o firmware/print.o firmware/sieve.o firmware/multest.o firmware/stats.o
-GCC_WARNS = -Wall -Wextra -Wshadow -Wundef -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
+GCC_WARNS = -Werror -Wall -Wextra -Wshadow -Wundef -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
GCC_WARNS += -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -pedantic # -Wconversion
TOOLCHAIN_PREFIX = riscv64-unknown-elf-