diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-23 01:00:08 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-23 01:21:23 -0500 |
commit | 4da6be3f1ad66987b7e072e578183798b3c29cb0 (patch) | |
tree | 835539aec6651d2ff2058ec97bb9034bf13657e0 /sim/Makefile.in | |
parent | 576d2c97d8de26d1ab5a2058e8ba4ffd00b8096d (diff) | |
download | gdb-4da6be3f1ad66987b7e072e578183798b3c29cb0.zip gdb-4da6be3f1ad66987b7e072e578183798b3c29cb0.tar.gz gdb-4da6be3f1ad66987b7e072e578183798b3c29cb0.tar.bz2 |
sim: warnings: rework individual flag disable into dedicated vars
The -Wshadow=local is too new for some compilers, so move it to a var
that we test at configure time.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r-- | sim/Makefile.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in index 6b73533..5fa0230 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -1677,6 +1677,8 @@ SDL_LIBS = @SDL_LIBS@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SIM_CFLAG_WNO_SHADOW_LOCAL = @SIM_CFLAG_WNO_SHADOW_LOCAL@ +SIM_CFLAG_WNO_UNUSED_BUT_SET_VARIABLE = @SIM_CFLAG_WNO_UNUSED_BUT_SET_VARIABLE@ SIM_ENABLED_ARCHES = @SIM_ENABLED_ARCHES@ SIM_FRV_TRAPDUMP_FLAGS = @SIM_FRV_TRAPDUMP_FLAGS@ SIM_HW_CFLAGS = @SIM_HW_CFLAGS@ @@ -2160,10 +2162,9 @@ testsuite_common_CPPFLAGS = \ @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_SOURCES = cr16/gencode.c @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_LDADD = cr16/cr16-opc.o -@SIM_ENABLE_ARCH_cris_TRUE@AM_CFLAGS_cris_mloopv10f.o = \ -@SIM_ENABLE_ARCH_cris_TRUE@ -Wno-unused-but-set-variable \ -@SIM_ENABLE_ARCH_cris_TRUE@ -Wno-shadow=local -@SIM_ENABLE_ARCH_cris_TRUE@AM_CFLAGS_cris_mloopv32f.o = -Wno-unused-but-set-variable +@SIM_ENABLE_ARCH_cris_TRUE@AM_CFLAGS_cris_mloopv10f.o = $(SIM_CFLAG_WNO_UNUSED_BUT_SET_VARIABLE) \ +@SIM_ENABLE_ARCH_cris_TRUE@ $(SIM_CFLAG_WNO_SHADOW_LOCAL) +@SIM_ENABLE_ARCH_cris_TRUE@AM_CFLAGS_cris_mloopv32f.o = $(SIM_CFLAG_WNO_UNUSED_BUT_SET_VARIABLE) @SIM_ENABLE_ARCH_cris_TRUE@nodist_cris_libsim_a_SOURCES = \ @SIM_ENABLE_ARCH_cris_TRUE@ cris/modules.c |