aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2017-02-21 11:56:26 -0500
committerCory Fields <cory-nospam-@coryfields.com>2017-02-23 01:06:04 -0500
commit205830a37b7ffa4f8fa306e5c9eafcee3777fa68 (patch)
treed9f0cc4a4cae528d40417b54b2e755479688992e /src/Makefile.am
parentb602fe0f7372256bd2bc8c116d23dee3253882f9 (diff)
build: add --enable-werror option
This turns some compiler warnings into errors. Useful for c-i.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a2072865a3..e8d22313dc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@
DIST_SUBDIRS = secp256k1 univalue
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS) $(HARDENED_LDFLAGS)
-AM_CXXFLAGS = $(HARDENED_CXXFLAGS)
+AM_CXXFLAGS = $(HARDENED_CXXFLAGS) $(ERROR_CXXFLAGS)
AM_CPPFLAGS = $(HARDENED_CPPFLAGS)
EXTRA_LIBRARIES =