diff --git a/build/third_party_gn/libuv/BUILD.gn b/build/third_party_gn/libuv/BUILD.gn index 5bb82bb0329b9ebb64dce4d017162908d2fb0217..1811391a72853820a8904244375e380dedf5cf4f 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") {