summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2023-04-04 16:19:58 -0500
committerJoel Sherrill <joel@rtems.org>2023-04-17 17:16:38 -0500
commit078bbbc9c8a5096ca83c15938305b12ec79706b4 (patch)
tree9650dbac9045fa86c261000109d1ffdf523d4cda
parentspec/pkgconfig: Allow builds to override headers (diff)
downloadrtems-078bbbc9c8a5096ca83c15938305b12ec79706b4.tar.bz2
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.
-rw-r--r--spec/build/bsps/objnandpsu.yml3
-rw-r--r--spec/build/bsps/objqspipsu.yml3
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: []