diff --git a/ts2panda/ts2abc/BUILD.gn b/ts2panda/ts2abc/BUILD.gn index 3b264a58dc5bd7f272a1e265af440d28119dd5f9..380e71d1bfec72069c43c0f5da06d7f12936b847 100755 --- a/ts2panda/ts2abc/BUILD.gn +++ b/ts2panda/ts2abc/BUILD.gn @@ -80,9 +80,12 @@ ohos_executable("ts2abc") { cflags = [ "-Wno-c++20-designator", "-Wno-c99-extensions", - "-Wno-unknown-warning-option", ] + if (!is_mingw) { + cflags += [ "-Wno-unknown-warning-option" ] + } + deps = [ "//arkcompiler/ets_frontend/merge_abc:panda_assembly_proto_static", sdk_libc_secshared_dep,