diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-09-24 09:36:31 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-09-24 09:36:31 -0300 |
commit | 930a50f9d3709fb18c30a1c4d4f1b9908d53ed1f (patch) | |
tree | f746cdcc15a8cce9b3910867ef84c8be1233c045 /config/ac-macros | |
parent | 7461d92d4570c2d243bd6c9cadb5506ee4ed2fac (diff) | |
download | mariadb-git-930a50f9d3709fb18c30a1c4d4f1b9908d53ed1f.tar.gz |
Bug#45288: pb2 returns a lot of compilation warnings on linux
Temporarily disable strict aliasing warnings in order to get
wider coverage for optimized builds. Once the violations are
fixed and false-positives silenced, this flag should be removed.
Diffstat (limited to 'config/ac-macros')
-rw-r--r-- | config/ac-macros/maintainer.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ac-macros/maintainer.m4 b/config/ac-macros/maintainer.m4 index 1b7df75d6f7..24be31395f2 100644 --- a/config/ac-macros/maintainer.m4 +++ b/config/ac-macros/maintainer.m4 @@ -16,7 +16,7 @@ AC_DEFUN([MY_MAINTAINER_MODE], [ AC_DEFUN([MY_MAINTAINER_MODE_WARNINGS], [ # Setup GCC warning options. AS_IF([test "$GCC" = "yes"], [ - C_WARNINGS="-Wall -Wextra -Wunused -Wwrite-strings -Werror" + C_WARNINGS="-Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror" CXX_WARNINGS="${C_WARNINGS} -Wno-unused-parameter" ]) |