0006-tflite_support-add-cflags-to-resolve-build-issues.patch 891 B

1234567891011121314151617181920212223242526
  1. From 32c1cad01d6e97e28927c59368d6c50de8bb8065 Mon Sep 17 00:00:00 2001
  2. From: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  3. Date: Mon, 1 Aug 2022 17:27:10 +0800
  4. Subject: [PATCH 06/51] tflite_support: add cflags to resolve build issues
  5. Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  6. ---
  7. third_party/tflite_support/BUILD.gn | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/third_party/tflite_support/BUILD.gn b/third_party/tflite_support/BUILD.gn
  10. index 6d9c6a09d9f2..284ef4c742d2 100644
  11. --- a/third_party/tflite_support/BUILD.gn
  12. +++ b/third_party/tflite_support/BUILD.gn
  13. @@ -40,6 +40,8 @@ config("tflite_support_flags") {
  14. "-Wno-ignored-attributes",
  15. "-Wno-deprecated-declarations",
  16. "-Wno-unused-variable",
  17. + "-Wno-defaulted-function-deleted",
  18. + "-Wno-absolute-value",
  19. ]
  20. if (!is_win) {
  21. cflags_cc = [ "-frtti" ]
  22. --
  23. 2.25.1