diff options
-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 |