[PATCH 3/9] sim: cris: reduce -Wno-error scope

Mike Frysinger vapier@gentoo.org
Mon Nov 1 04:59:39 GMT 2021


Only two files in here still generates warnings, so reduce the -Werror
disable to that now that we require GNU make and can set variables on
a per-object basis.
---
 sim/cris/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sim/cris/Makefile.in b/sim/cris/Makefile.in
index 6125fc87bedc..18dd2f451b55 100644
--- a/sim/cris/Makefile.in
+++ b/sim/cris/Makefile.in
@@ -41,8 +41,8 @@ SIM_EXTRA_DEPS = \
 
 SIM_EXTRA_CLEAN = cris-clean
 
-# Code doesn't build cleanly yet.
-SIM_WERROR_CFLAGS =
+# Some modules don't build cleanly yet.
+crisv10f.o crisv32f.o: SIM_WERROR_CFLAGS =
 
 ## COMMON_POST_CONFIG_FRAG
 
-- 
2.33.0



More information about the Gdb-patches mailing list