diff options
author | Katerina Barone-Adesi <katerinab@gmail.com> | 2014-05-16 18:07:34 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-05-16 19:58:34 +0200 |
commit | 4d25c2bc76f0a708c2ba470b6bfeb547efe37115 (patch) | |
tree | af01324d291fe79d9968a08cf4aa6e8885067102 /configure | |
parent | 7c377f0e74de8ab57f6baa64f3ec197c82104764 (diff) | |
download | ffmpeg-streaming-4d25c2bc76f0a708c2ba470b6bfeb547efe37115.zip ffmpeg-streaming-4d25c2bc76f0a708c2ba470b6bfeb547efe37115.tar.gz |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |