Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <janne-vlc@jannau.net>2018-12-11 16:48:28 +0300
committerJanne Grunau <janne-vlc@jannau.net>2018-12-11 16:48:28 +0300
commita32171340ee1988aa6aa4e8a8951fa8951a85169 (patch)
tree31b297aaa0d9b70f8179c34553a598460d527490 /tests/meson.build
parentc0501f1f4f3947510b294dd52d5be76d1e4448a2 (diff)
do not build the allocation fail fuzzer when lto is enabled
Link time optimization and '--wrap' seems to not work together. Fixes #219.
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 4d8b53c..9d8b304 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -125,7 +125,7 @@ dav1d_fuzzer_mt = executable('dav1d_fuzzer_mt',
)
if (cc.has_function('posix_memalign', prefix : '#include <stdlib.h>', args : test_args) and
- cc.has_link_argument('-Wl,-wrap,malloc'))
+ cc.has_link_argument('-Wl,-wrap,malloc') and not get_option('b_lto'))
alloc_fail = shared_library('alloc_fail',
files('libfuzzer/alloc_fail.c'),