1234567891011121314151617181920212223242526272829303132333435363738394041 |
- From 436d02e269f47535fcae34ce9dbca3ca36617cd6 Mon Sep 17 00:00:00 2001
- From: Tien Hock Loh <tienhock.loh@starfivetech.com>
- Date: Thu, 11 Aug 2022 08:07:56 +0000
- Subject: [PATCH 34/68] reduce warnings flag as error
- Signed-off-by: Tien Hock Loh <tienhock.loh@starfivetech.com>
- ---
- components/optimization_guide/core/BUILD.gn | 3 +++
- third_party/tflite_support/BUILD.gn | 2 ++
- 2 files changed, 5 insertions(+)
- diff --git a/components/optimization_guide/core/BUILD.gn b/components/optimization_guide/core/BUILD.gn
- index 9abc153e55cf..92f10dfae7e0 100644
- --- a/components/optimization_guide/core/BUILD.gn
- +++ b/components/optimization_guide/core/BUILD.gn
- @@ -7,6 +7,9 @@ if (is_android) {
- }
- import("//components/optimization_guide/features.gni")
-
- +cflags_cc = [ "-Wno-absolute-value" ]
- +cflags_cc += [ "-Wno-defaulted-function-deleted" ]
- +
- static_library("bloomfilter") {
- sources = [
- "bloom_filter.cc",
- diff --git a/third_party/tflite_support/BUILD.gn b/third_party/tflite_support/BUILD.gn
- index 284ef4c742d2..85161cf563aa 100644
- --- a/third_party/tflite_support/BUILD.gn
- +++ b/third_party/tflite_support/BUILD.gn
- @@ -42,6 +42,8 @@ config("tflite_support_flags") {
- "-Wno-unused-variable",
- "-Wno-defaulted-function-deleted",
- "-Wno-absolute-value",
- + "-Wno-defaulted-function-deleted",
- + "-Wno-absolute-value",
- ]
- if (!is_win) {
- cflags_cc = [ "-frtti" ]
- --
- 2.30.2
|