[rtems commit] bsps/amd64: remove -Werror from ABI flags

Joel Sherrill joel at rtems.org
Tue Aug 23 16:28:21 UTC 2022


Module:    rtems
Branch:    master
Commit:    c738be92a0ba521191da17eb39e6affce228943e
Changeset: http://git.rtems.org/rtems/commit/?id=c738be92a0ba521191da17eb39e6affce228943e

Author:    Stephen Clark <sclark at localhost.localdomain>
Date:      Mon Aug 22 14:11:38 2022 -0500

bsps/amd64: remove -Werror from ABI flags

The ABI flags for the amd64 BSP contain the -Werror=return-type flag. There is no reason for this to be there so it has been removed. The same option has also been removed amd64.cfg file.

---

 bsps/x86_64/amd64/config/amd64.cfg   | 1 -
 spec/build/bsps/x86_64/amd64/abi.yml | 1 -
 2 files changed, 2 deletions(-)

diff --git a/bsps/x86_64/amd64/config/amd64.cfg b/bsps/x86_64/amd64/config/amd64.cfg
index ad861cb867..fe19a9ee55 100644
--- a/bsps/x86_64/amd64/config/amd64.cfg
+++ b/bsps/x86_64/amd64/config/amd64.cfg
@@ -11,6 +11,5 @@ CPU_CFLAGS  = -mno-red-zone
 # way we can avoid linker-time relocation errors spawning from values being
 # larger than their optimized container sizes.
 CPU_CFLAGS += -mcmodel=large
-CPU_CFLAGS += -Werror=return-type
 
 LDFLAGS = -Wl,--gc-sections
diff --git a/spec/build/bsps/x86_64/amd64/abi.yml b/spec/build/bsps/x86_64/amd64/abi.yml
index ca5a815c24..3e8748d069 100644
--- a/spec/build/bsps/x86_64/amd64/abi.yml
+++ b/spec/build/bsps/x86_64/amd64/abi.yml
@@ -9,7 +9,6 @@ copyrights:
 default:
 - -mno-red-zone
 - -mcmodel=large
-- -Werror=return-type
 default-by-variant: []
 description: |
   ABI flags



More information about the vc mailing list