aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-06 20:06:07 -0700
committerMike Frysinger <vapier@gentoo.org>2023-12-07 21:41:27 -0700
commit4125d6473842ec85797bde679421f980103f45c5 (patch)
tree3013b08014915600f2c569edfcd43a0c132da3cb /sim/Makefile.in
parentee45e43358fdd19cbf061f813c8c544c5e225606 (diff)
downloadgdb-4125d6473842ec85797bde679421f980103f45c5.zip
gdb-4125d6473842ec85797bde679421f980103f45c5.tar.gz
gdb-4125d6473842ec85797bde679421f980103f45c5.tar.bz2
sim: cris: fix -Wunused-but-set-variable warnings
We suppress the warning in the generated switch file because the cris cpu file has a hack to workaround a cgen bug, but that generates a set but unused variable which makes the compiler upset.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r--sim/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 7fa32b8..52dd838 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -2153,6 +2153,8 @@ 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 = -Wno-unused-but-set-variable
+@SIM_ENABLE_ARCH_cris_TRUE@AM_CFLAGS_cris_mloopv32f.o = -Wno-unused-but-set-variable
@SIM_ENABLE_ARCH_cris_TRUE@nodist_cris_libsim_a_SOURCES = \
@SIM_ENABLE_ARCH_cris_TRUE@ cris/modules.c