From 54cf1304f64dcd56a854eb8044882afb00571335 Mon Sep 17 00:00:00 2001 From: yang-19970325 Date: Wed, 5 Feb 2025 10:35:19 +0800 Subject: [PATCH] Cherry-pcik 998 to 5.0.2 Issue: #IBK32A Signed-off-by: yang-19970325 --- build/third_party_gn/libuv/BUILD.gn | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/build/third_party_gn/libuv/BUILD.gn b/build/third_party_gn/libuv/BUILD.gn index 5bb82bb0..1811391a 100644 --- a/build/third_party_gn/libuv/BUILD.gn +++ b/build/third_party_gn/libuv/BUILD.gn @@ -65,11 +65,6 @@ config("libuv_config") { "-D_GNU_SOURCE", "-D_POSIX_C_SOURCE=200112", ] - - # Adding NDEBUG macro manually to avoid compilation - # error in debug version, FIX ME - # https://gitee.com/openharmony/build/pulls/1206/files - defines += [ "NDEBUG" ] } else if (is_mingw || is_win) { cflags += [ "-Wno-missing-braces", @@ -85,11 +80,6 @@ config("libuv_config") { "_WIN32_WINNT=0x0600", ] - # Adding NDEBUG macro manually to avoid compilation - # error in debug version, FIX ME - # https://gitee.com/openharmony/build/pulls/1206/files - defines += [ "NDEBUG" ] - libs = [ "psapi", "user32", @@ -112,11 +102,6 @@ config("libuv_private_config") { "//third_party/libuv/src", "//third_party/libuv/src/unix", ] - - # Adding NDEBUG macro manually to avoid compilation - # error in debug version, FIX ME - # https://gitee.com/openharmony/build/pulls/1206/files - defines = [ "NDEBUG" ] } ohos_source_set("libuv_source") { -- Gitee