Skip to content

Commit 414c61a

Browse files
committed
Removing the warning error to only the specified error
1 parent 078ce97 commit 414c61a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

third_party/silabs/efr32_sdk.gni

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ template("efr32_sdk") {
133133
sdk_target_name = target_name
134134

135135
config("${sdk_target_name}_config") {
136-
cflags = []
137136
include_dirs = []
138137
libs = []
139138
if (defined(invoker.include_dirs)) {
@@ -484,7 +483,7 @@ template("efr32_sdk") {
484483

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

@@ -610,6 +609,7 @@ template("efr32_sdk") {
610609
]
611610
}
612611

612+
cflags = []
613613
foreach(include_dir, _include_dirs) {
614614
cflags += [ "-isystem" + rebase_path(include_dir, root_build_dir) ]
615615
}

0 commit comments

Comments
 (0)