From 078bbbc9c8a5096ca83c15938305b12ec79706b4 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Tue, 4 Apr 2023 16:19:58 -0500 Subject: [PATCH] spec: Silence benign warnings in 3rd party code Do not warn about excessive shifts in imported Xilinx driver code when building with the ILP32 ABI. The two instances of this warning produce the desired effect of setting the upper address bits to 0. --- spec/build/bsps/objnandpsu.yml | 3 ++- spec/build/bsps/objqspipsu.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/build/bsps/objnandpsu.yml b/spec/build/bsps/objnandpsu.yml index 253c598e8c..3ed622fcc3 100644 --- a/spec/build/bsps/objnandpsu.yml +++ b/spec/build/bsps/objnandpsu.yml @@ -1,6 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: objects -cflags: [] +cflags: +- -Wno-shift-count-overflow copyrights: - Copyright (C) 2022 On-Line Applications Research (OAR) cppflags: [] diff --git a/spec/build/bsps/objqspipsu.yml b/spec/build/bsps/objqspipsu.yml index 205172146e..b4c63bc632 100644 --- a/spec/build/bsps/objqspipsu.yml +++ b/spec/build/bsps/objqspipsu.yml @@ -1,6 +1,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: objects -cflags: [] +cflags: +- -Wno-shift-count-overflow copyrights: - Copyright (C) 2022 On-Line Applications Research (OAR) cppflags: []