0031-build-config-compiler-skip-warnings-treated-as-error.patch 844 B

1234567891011121314151617181920212223242526
  1. From c5595cbc4f0fdcdedfefcebb4ec1098ed33ca406 Mon Sep 17 00:00:00 2001
  2. From: Tien Hock Loh <tienhock.loh@starfivetech.com>
  3. Date: Thu, 11 Aug 2022 07:59:13 +0000
  4. Subject: [PATCH 31/68] build: config: compiler: skip warnings treated as
  5. errors in ffmpeg
  6. Signed-off-by: Tien Hock Loh <tienhock.loh@starfivetech.com>
  7. ---
  8. build/config/compiler/BUILD.gn | 1 +
  9. 1 file changed, 1 insertion(+)
  10. diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
  11. index 014bc5152e10..ff848427895d 100644
  12. --- a/build/config/compiler/BUILD.gn
  13. +++ b/build/config/compiler/BUILD.gn
  14. @@ -1174,6 +1174,7 @@ config("compiler_cpu_abi") {
  15. "--target=riscv64-linux-gnu",
  16. "-mno-relax",
  17. "-mabi=lp64d",
  18. + "-Wno-error=deprecated-declarations",
  19. ]
  20. ldflags += [
  21. "--target=riscv64-linux-gnu",
  22. --
  23. 2.30.2