diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2016-05-20 15:34:26 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-06-03 22:19:37 +0200 |
commit | b5daaf43bc1ab9f3fe3fa143b00b132c72a9abc3 (patch) | |
tree | 2a1a28ad0cbbf9e36dc10fcddba8280a298cd138 /m4 | |
parent | 76eca6aca9676da5e860b65ab7c77d83580fc8a1 (diff) | |
download | NetworkManager-b5daaf43bc1ab9f3fe3fa143b00b132c72a9abc3.tar.gz |
build: configure.ac: always set -fno-strict-aliasing
We break the aliasing rules in the code, and thus the flag should
always be enabled to prevent wrong optimizations, even without
--enable-more-warnings.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/compiler_options.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4 index b2472ab81e..496873ea8a 100644 --- a/m4/compiler_options.m4 +++ b/m4/compiler_options.m4 @@ -66,7 +66,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \ -Wno-duplicate-decl-specifier \ -Wstrict-prototypes \ - -fno-strict-aliasing -Wno-unused-but-set-variable \ + -Wno-unused-but-set-variable \ -Wundef -Wimplicit-function-declaration \ -Wpointer-arith -Winit-self -Wformat-nonliteral \ -Wmissing-include-dirs -Wno-pragmas; do |