Skip to content

Commit

Permalink
Fix mbedtls options to avoid new clang error
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Dec 13, 2022
1 parent a7a1da8 commit 8d7413b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion third_party/mbedtls/mbedtls.gni
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ template("mbedtls_target") {
]

if (is_clang) {
cflags += [ "-Wno-shorten-64-to-32" ]
cflags += [
"-Wno-shorten-64-to-32",
"-Wno-unused-but-set-variable", # bignum.c: variable 't' set but not used
]
}
}

Expand Down

0 comments on commit 8d7413b

Please sign in to comment.