ref: a8bbe7d808464f8187f3b61efdca690c2977cd55
parent: a8e31d624aa50c15d8bf8e403ac8256b780eceed
parent: 8b47e1cfe1e5c65cc30b0047d8f30d2f48fa6123
author: Johann <[email protected]>
date: Tue Oct 29 07:05:45 EDT 2013
Merge "Disable aliasing when building with Clang"
--- a/configure
+++ b/configure
@@ -608,7 +608,12 @@
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