From: Mike Frysinger Date: Mon, 1 Nov 2021 04:53:38 +0000 (-0400) Subject: sim: sh: reduce -Wno-error scope X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd37cffed6537f14809e12cf3b8d864899dcd053;p=binutils-gdb.git 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. --- 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