]> granicus.if.org Git - libvpx/commitdiff
Remove -fno-strict-aliasing flag
authorJohann <johannkoenig@google.com>
Sat, 27 Aug 2016 01:13:07 +0000 (18:13 -0700)
committerAlex Converse <aconverse@google.com>
Thu, 6 Oct 2016 22:52:39 +0000 (15:52 -0700)
The referenced bug was fixed by saving neon registers. That this had any
effect was coincidental.

Both chromium and Android build with clang and neither uses this flag.

Change-Id: I470247d6fd9226fc207b42a187105581a94badc3
(cherry picked from commit fad70a358b9ab832f5f2ece1609936b80b649c71)

configure

index c96691ba34accb6d179ac3b66d5720099f15db80..1bc0863e655951a2a4a49c86467d966d4dbf04a6 100755 (executable)
--- a/configure
+++ b/configure
@@ -606,12 +606,7 @@ process_toolchain() {
         check_add_cflags -Wuninitialized
         check_add_cflags -Wunused-variable
         case ${CC} in
-          *clang*)
-              # libaom and/or clang have issues with aliasing:
-              # https://code.google.com/p/webm/issues/detail?id=603
-              # work around them until they are fixed
-              check_add_cflags -fno-strict-aliasing
-          ;;
+          *clang*) ;;
           *) check_add_cflags -Wunused-but-set-variable ;;
         esac
         if enabled mips || [ -z "${INLINE}" ]; then