Skip to content

Commit 56bd513

Browse files
JohnWangCHerwinpan1
authored andcommitted
Add -Wno-error flag to avoid warnings being regarded as errors.
1 parent 20883e8 commit 56bd513

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/config/target.gni

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
declare_args() {
1616
# Global defines for target build. This only applies to the default toolchain.
1717
target_defines = []
18-
target_cflags = []
19-
target_cflags_cc = []
20-
target_cflags_c = []
18+
target_cflags = ["-Wno-error"]
19+
target_cflags_cc = ["-Wno-error"]
20+
target_cflags_c = ["-Wno-error"]
2121
target_ldflags = []
2222
}

0 commit comments

Comments
 (0)