From a7a1da8fe81628142c7c877e78125ce9d94e289b Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 13 Dec 2022 13:04:49 -0500 Subject: [PATCH 1/3] Update pigweed to latest version that dependabot wanted. --- third_party/pigweed/repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/pigweed/repo b/third_party/pigweed/repo index 4b50d0eac2fe6b..ead209d3aa0982 160000 --- a/third_party/pigweed/repo +++ b/third_party/pigweed/repo @@ -1 +1 @@ -Subproject commit 4b50d0eac2fe6bc14ec46b51cd8519ca8c042e92 +Subproject commit ead209d3aa09821aa7549fbc8665ae68fe88d16f From 8d7413bd5d0950b247ff118952b7151f16e3cbcf Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 13 Dec 2022 13:30:24 -0500 Subject: [PATCH 2/3] Fix mbedtls options to avoid new clang error --- third_party/mbedtls/mbedtls.gni | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/third_party/mbedtls/mbedtls.gni b/third_party/mbedtls/mbedtls.gni index 84513a631c854a..7397a3ec0f31bb 100644 --- a/third_party/mbedtls/mbedtls.gni +++ b/third_party/mbedtls/mbedtls.gni @@ -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 + ] } } From ac1da856e2456d711766cd8b8f37c037248aba51 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 13 Dec 2022 15:22:09 -0500 Subject: [PATCH 3/3] Restyle --- third_party/mbedtls/mbedtls.gni | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/third_party/mbedtls/mbedtls.gni b/third_party/mbedtls/mbedtls.gni index 7397a3ec0f31bb..2c65b2491ecdc2 100644 --- a/third_party/mbedtls/mbedtls.gni +++ b/third_party/mbedtls/mbedtls.gni @@ -31,9 +31,10 @@ template("mbedtls_target") { ] if (is_clang) { - cflags += [ + cflags += [ "-Wno-shorten-64-to-32", - "-Wno-unused-but-set-variable", # bignum.c: variable 't' set but not used + "-Wno-unused-but-set-variable", # bignum.c: variable 't' set but not + # used ] } }