Skip to content

Commit

Permalink
Add -Wno-error flag to avoid warnings being regarded as errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnWangCH authored and erwinpan1 committed Aug 30, 2024
1 parent 20883e8 commit 56bd513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/config/target.gni
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
declare_args() {
# Global defines for target build. This only applies to the default toolchain.
target_defines = []
target_cflags = []
target_cflags_cc = []
target_cflags_c = []
target_cflags = ["-Wno-error"]
target_cflags_cc = ["-Wno-error"]
target_cflags_c = ["-Wno-error"]
target_ldflags = []
}

0 comments on commit 56bd513

Please sign in to comment.