[build] Work around LTO issue in FFmpeg

Bug: 335542674, 42180987
Change-Id: Ia12bcb601d7a7007196adb0154f72f90114b7091
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/ffmpeg/+/1031718
Reviewed-by: Petr Hosek <phosek@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index f473760..1af7437 100755
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -17,7 +17,8 @@
 #
 #     ffmpeg_config_root = "config/$ffmpeg_profile/$current_cpu"
 #
-ffmpeg_config_root = "//build/secondary/third_party/ffmpeg/config/$ffmpeg_profile/$current_cpu"
+ffmpeg_config_root =
+    "//build/secondary/third_party/ffmpeg/config/$ffmpeg_profile/$current_cpu"
 
 has_yasm_deps = ffmpeg_yasm_sources != [] && current_cpu == "x64"
 if (has_yasm_deps) {
@@ -189,7 +190,11 @@
   cflags = []
   ldflags = []
   libs = []
-  deps = [ "//third_party/opus" ]
+  deps = [
+    # TODO(https://fxbug.dev/98632): workaround for toolchain issues.
+    "//build/config/fuchsia:uses-outline-atomics-fxbug98632",
+    "//third_party/opus",
+  ]
 
   configs += [
     ":ffmpeg_warnings",