Module: libav Branch: master Commit: 4d25c2bc76f0a708c2ba470b6bfeb547efe37115
Author: Katerina Barone-Adesi <[email protected]> Committer: Luca Barbato <[email protected]> Date: Fri May 16 18:07:34 2014 +0200 build: Support building using clang-usan and disable-optimization Clang Undefined Behaviour Sanitizer seems to make non-constant constant expressions, making the compilation fail when they are used within inline assembly if no optimization is requested. Add -O1 to the cflags to hide the misbehaviour. Bug-Id: 683 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6f84dfa..74a4df1 100755 --- a/configure +++ b/configure @@ -2443,7 +2443,7 @@ case "$toolchain" in ;; clang-usan) cc_default="clang" - add_cflags -fsanitize=undefined + add_cflags -fsanitize=undefined -O1 add_ldflags -fsanitize=undefined ;; gcc-asan) _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
