From 9cfd076082654ba653abbc6b75bb6de38e9fe46c Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Sat, 2 Dec 2023 08:56:24 +0100 Subject: [PATCH] Fix debug build Signed-off-by: J-P Nurmi Change-Id: I88d5ef9b6f05717d24aca88a40a1d614ce65e1e1 --- BUILD.gn | 2 ++ configure_copts.gni | 1 + 2 files changed, 3 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 3df3c0f..9ff2d99 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -394,6 +394,8 @@ ohos_shared_library("absl_sync") { "${ABSEIL_DIR}/absl/synchronization/internal/create_thread_identity.cc", "${ABSEIL_DIR}/absl/synchronization/internal/create_thread_identity.h", "${ABSEIL_DIR}/absl/synchronization/internal/futex.h", + "${ABSEIL_DIR}/absl/synchronization/internal/graphcycles.cc", + "${ABSEIL_DIR}/absl/synchronization/internal/graphcycles.h", "${ABSEIL_DIR}/absl/synchronization/internal/per_thread_sem.cc", "${ABSEIL_DIR}/absl/synchronization/internal/per_thread_sem.h", "${ABSEIL_DIR}/absl/synchronization/internal/waiter.cc", diff --git a/configure_copts.gni b/configure_copts.gni index 8d7788c..ddc793a 100644 --- a/configure_copts.gni +++ b/configure_copts.gni @@ -63,4 +63,5 @@ ABSL_DEFAULT_COPTS = [ "-Wno-reserved-identifier", "-Wno-shadow-field-in-constructor", "-Wno-unreachable-code-break", + "-Wno-missing-noreturn", ] -- Gitee