summaryrefslogtreecommitdiff
path: root/examples/local.mk
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-11-26 10:42:49 +0100
committerAkim Demaille <akim@lrde.epita.fr>2012-11-26 11:00:05 +0100
commit2f130f199a5510f6aa7ac6199e34885242411039 (patch)
tree6e394a25feaa8ce132ab35be1d011695daeaa2e0 /examples/local.mk
parent15a1a08a877cfe0ab231d59a5c19201b98df04be (diff)
downloadbison-2f130f199a5510f6aa7ac6199e34885242411039.tar.gz
tests: use -fno-strict-aliasing with variants
Reported by Théophile Ranquet. * configure.ac (NO_STRICT_ALIAS_CXXFLAGS): New. * tests/c++.at, tests/atlocal.in, examples/local.mk: Use it.
Diffstat (limited to 'examples/local.mk')
-rw-r--r--examples/local.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/local.mk b/examples/local.mk
index 94a31674..3a6fcf0d 100644
--- a/examples/local.mk
+++ b/examples/local.mk
@@ -16,6 +16,10 @@
dist_noinst_SCRIPTS = examples/extexi examples/test
TEST_LOG_COMPILER = $(top_srcdir)/examples/test
+AM_CXXFLAGS = \
+ $(NO_STRICT_ALIAS_CXXFLAGS) \
+ $(WARN_CXXFLAGS) $(WARN_CXXFLAGS_TEST) $(WERROR_CXXFLAGS)
+
## ------------ ##
## Extracting. ##
## ------------ ##