diff options
Diffstat (limited to 'testing/BUILD.bazel')
-rw-r--r-- | testing/BUILD.bazel | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/BUILD.bazel b/testing/BUILD.bazel index 075f00d1..117eb69d 100644 --- a/testing/BUILD.bazel +++ b/testing/BUILD.bazel | |||
@@ -30,6 +30,10 @@ cc_binary( | |||
30 | cc_binary( | 30 | cc_binary( |
31 | name = "av_test", | 31 | name = "av_test", |
32 | srcs = ["av_test.c"], | 32 | srcs = ["av_test.c"], |
33 | # We must always optimise this program, because otherwise GCC won't inline | ||
34 | # cvArcLength but also not emit it out of line, resulting in undefined | ||
35 | # reference errors. | ||
36 | copts = ["-O1"], | ||
33 | deps = [ | 37 | deps = [ |
34 | "//c-toxcore/toxav", | 38 | "//c-toxcore/toxav", |
35 | "//c-toxcore/toxav:monolith", | 39 | "//c-toxcore/toxav:monolith", |