summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorrlar <rlar>2016-03-29 13:59:39 +0200
committerWill Estes <westes575@gmail.com>2016-03-31 07:11:51 -0400
commitf1ce47684c73c71bc32bfb07372229f7f9876a97 (patch)
tree1212627e10741c3cdc5531f92941e9496bdcfd6e /tests/Makefile.am
parentbabe9a1e8eeb5497756d4d7998dd1ca82c62a189 (diff)
configure option `--enable-warnings' and `WARNINGFLAGS'
`WARNINGFLAGS' can be passed when invoking `configure' and when invoking `make' if configure switch `--enable-warnings' was given then default to something useful if we have `GCC' `WARNINGFLAGS' is not used when compiling `stage1flex' to avoid unnecessary clutter
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 428e4b2..817f1a3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -19,6 +19,8 @@
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE.
+AM_CFLAGS = $(WARNINGFLAGS)
+
TESTS = $(check_PROGRAMS) options.cn
# The script testwrapper.sh will run most tests as is. A couple tests