diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2012-11-26 10:42:49 +0100 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-11-26 11:00:05 +0100 |
commit | 2f130f199a5510f6aa7ac6199e34885242411039 (patch) | |
tree | 6e394a25feaa8ce132ab35be1d011695daeaa2e0 /examples/local.mk | |
parent | 15a1a08a877cfe0ab231d59a5c19201b98df04be (diff) | |
download | bison-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.mk | 4 |
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. ## ## ------------ ## |