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

1234567891011121314151617181920212223242526
  1. From 85205e4319766b74a3ab7cce3149991bf5fa127f 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 29/51] 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 03ce0777d533..2ba6030cc544 100644
  12. --- a/build/config/compiler/BUILD.gn
  13. +++ b/build/config/compiler/BUILD.gn
  14. @@ -1187,6 +1187,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.25.1