From cd37cffed6537f14809e12cf3b8d864899dcd053 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Nov 2021 00:53:38 -0400 Subject: [PATCH] sim: sh: reduce -Wno-error scope Only one file in here still generates warnings, so reduce the -Werror disable to that alone now that we require GNU make and can set variables on a per-object basis. --- sim/sh/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in index efac41e8a40..e79efd1ff5e 100644 --- a/sim/sh/Makefile.in +++ b/sim/sh/Makefile.in @@ -28,8 +28,8 @@ SIM_EXTRA_LIBS = -lm SIM_EXTRA_CLEAN = sh-clean SIM_EXTRA_DEPS = table.c code.c ppi.c -# Code doesn't build cleanly yet. -SIM_WERROR_CFLAGS = +# Some modules don't build cleanly yet. +interp.o: SIM_WERROR_CFLAGS = ## COMMON_POST_CONFIG_FRAG -- 2.30.2