aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-05-09 21:26:05 +0200
committerTristan Gingold <tgingold@free.fr>2017-05-09 21:26:05 +0200
commit1d71308e25694056dc9280ec06e7e1f3e15c3a06 (patch)
tree89d2adae6f7a3c7bcbff657806e23b2b37829240 /Makefile.in
parent93d20154f161dc2c2ecf504ab3ef84a898e2f4e3 (diff)
downloadghdl-1d71308e25694056dc9280ec06e7e1f3e15c3a06.tar.gz
ghdl-1d71308e25694056dc9280ec06e7e1f3e15c3a06.tar.bz2
ghdl-1d71308e25694056dc9280ec06e7e1f3e15c3a06.zip
Makefile: separate and document -gnatwe
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index dffabdb5b..c748e3d73 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -70,13 +70,16 @@ ifeq "$(build_mode)" "coverage"
OPT_FLAGS+=-fprofile-arcs -ftest-coverage
endif
-GNATFLAGS=-gnaty3befhkmr -gnatwae -gnatf -gnat05 $(OPT_FLAGS) $(ADA_FLAGS)
+GNATFLAGS=-gnaty3befhkmr -gnatwa -gnatf -gnat05 $(OPT_FLAGS) $(ADA_FLAGS)
GRT_FLAGS=$(OPT_FLAGS)
WARN_CFLAGS=-Wall
GNAT_BARGS=-bargs -E
+# Warnings as errors. Comment this line if a warning looks not valid.
+GNATFLAGS+=-gnatwe
+
target=$(build)
#target=i686-pc-linux-gnu
#target=x86_64-pc-linux-gnu