aboutsummaryrefslogtreecommitdiff
path: root/third_party/pico_sdk/src/rp2_common/hardware_rtc/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/pico_sdk/src/rp2_common/hardware_rtc/BUILD.gn')
-rw-r--r--third_party/pico_sdk/src/rp2_common/hardware_rtc/BUILD.gn6
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/pico_sdk/src/rp2_common/hardware_rtc/BUILD.gn b/third_party/pico_sdk/src/rp2_common/hardware_rtc/BUILD.gn
index b59a0f2bf..eca3cc0f6 100644
--- a/third_party/pico_sdk/src/rp2_common/hardware_rtc/BUILD.gn
+++ b/third_party/pico_sdk/src/rp2_common/hardware_rtc/BUILD.gn
@@ -26,8 +26,10 @@ config("public_include_dirs") {
}
pw_source_set("hardware_rtc") {
- remove_configs = [ "$dir_pw_build:strict_warnings" ]
- public_configs = [ ":public_include_dirs" ]
+ public_configs = [
+ ":public_include_dirs",
+ "${PICO_ROOT}/gn:disable_warnings",
+ ]
public_deps = [
"${PICO_ROOT}/src/common/pico_base",
"${PICO_ROOT}/src/rp2040/hardware_structs",