aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-05-20 05:18:23 +0200
committerTristan Gingold <tgingold@free.fr>2017-05-20 05:18:23 +0200
commit09a2c9c2e20c4cfbbde8748d3c00402ff70d92c4 (patch)
tree85e115363d61dc1bd131062da0fdde16985275a5 /Makefile.in
parent7302cdd4bd7329a1e0999cab2e53954a5129d280 (diff)
downloadghdl-09a2c9c2e20c4cfbbde8748d3c00402ff70d92c4.tar.gz
ghdl-09a2c9c2e20c4cfbbde8748d3c00402ff70d92c4.tar.bz2
ghdl-09a2c9c2e20c4cfbbde8748d3c00402ff70d92c4.zip
configure: add --disable-werror
For #350
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 5cc0b8008..4cef9600e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -34,6 +34,7 @@ LDFLAGS=@LDFLAGS@
LIBBACKTRACE=@backtrace_lib@
llvm_be=@llvm_be@
build_mode=@build_mode@
+enable_werror=@enable_werror@
INSTALL_PROGRAM=install -m 755
INSTALL_DATA=install -m 644
@@ -78,7 +79,9 @@ WARN_CFLAGS=-Wall
GNAT_BARGS=-bargs -E
# Warnings as errors. Comment this line if a warning looks not valid.
+ifeq "$(enable_werror)" "true"
GNATFLAGS+=-gnatwe
+endif
target=$(build)
#target=i686-pc-linux-gnu