projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
ad9299f
)
Commit
cffef594ce1656deb5c7d49992028f583f56f22e
author
Torbjorn Tyridal
<ttyridal@cisco.com>
Tue, 20 Jun 2017 19:51:28 +0000
(21:51 +0200)
committer
Michel Pollet
<buserror@gmail.com>
Wed, 2 Aug 2017 08:09:13 +0000
(09:09 +0100)
Makefile.common
patch
|
blob
|
history
|
download
diff --git
a/Makefile.common
b/Makefile.common
index 751e601e930eff4c6abbab4203880a9ddb32e26f..aa89f686c9b896db019e6f40fee8fe1e183f92a8 100644
(file)
--- a/
Makefile.common
+++ b/
Makefile.common
@@
-39,7
+39,9
@@
SIMAVR := ${shell for p in . .. ../.. ../../..;do test -d $$p/simavr/sim && ech
# get the first character of what the compiler says it is, unless it's 'x86_64' doh
ARCH := ${shell $(CC) -dumpmachine | sed -e 's/^x/i/' -e 's/\(.\).*/\1/'}
-CFLAGS += -O2 -Wall
+CFLAGS += -O2 -Wall -Wextra -Werror -Wno-unused-parameter \
+ -Wno-unused-result -Wno-missing-field-initializers \
+ -Wno-sign-compare
CFLAGS += -g
CORE_CFLAGS = -nostdinc -DAVR_CORE=1