Skip to content

Commit

Permalink
Removing the warning error to only the specified error
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-silabs committed Jul 1, 2024
1 parent 078ce97 commit 414c61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ template("efr32_sdk") {
sdk_target_name = target_name

config("${sdk_target_name}_config") {
cflags = []
include_dirs = []
libs = []
if (defined(invoker.include_dirs)) {
Expand Down Expand Up @@ -484,7 +483,7 @@ template("efr32_sdk") {

# This is kept due to the warning on the LWIP when on demand timer is added
# TODO: remove this flag once the warning is fixed in SiSDK MATTER-3946
cflags += [ "-Wno-error" ]
cflags_c = [ "-Wno-implicit-function-declaration" ]
}
}

Expand Down Expand Up @@ -610,6 +609,7 @@ template("efr32_sdk") {
]
}

cflags = []
foreach(include_dir, _include_dirs) {
cflags += [ "-isystem" + rebase_path(include_dir, root_build_dir) ]
}
Expand Down

0 comments on commit 414c61a

Please sign in to comment.