diff options
author | Johann <johannkoenig@google.com> | 2013-10-29 11:05:45 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2013-10-29 11:05:45 -0700 |
commit | a8bbe7d808464f8187f3b61efdca690c2977cd55 (patch) | |
tree | 70924a2fa205d4684cc0830e2fbf2007416d2d34 | |
parent | a8e31d624aa50c15d8bf8e403ac8256b780eceed (diff) | |
parent | 8b47e1cfe1e5c65cc30b0047d8f30d2f48fa6123 (diff) | |
download | libvpx-a8bbe7d808464f8187f3b61efdca690c2977cd55.tar libvpx-a8bbe7d808464f8187f3b61efdca690c2977cd55.tar.gz libvpx-a8bbe7d808464f8187f3b61efdca690c2977cd55.tar.bz2 libvpx-a8bbe7d808464f8187f3b61efdca690c2977cd55.zip |
Merge "Disable aliasing when building with Clang"
-rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -608,7 +608,12 @@ process_toolchain() { check_add_cflags -Wuninitialized check_add_cflags -Wunused-variable case ${CC} in - *clang*) ;; + *clang*) + # libvpx 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 + ;; *) check_add_cflags -Wunused-but-set-variable ;; esac enabled extra_warnings || check_add_cflags -Wno-unused-function |