]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: m32r: enable warnings in traps.c
authorMike Frysinger <vapier@gentoo.org>
Thu, 11 Jan 2024 03:36:41 +0000 (22:36 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 11 Jan 2024 03:37:04 +0000 (22:37 -0500)
File should be clean now!

sim/Makefile.in
sim/m32r/local.mk

index 7de345c335665e19d08aa1ca38ad25221f495971..6da4ea2a9466ea67094743064f43519971ffb88f 100644 (file)
@@ -2573,7 +2573,6 @@ testsuite_common_CPPFLAGS = \
 # opc2c leaks memory, and therefore makes AddressSanitizer unhappy.  Disable
 # leak detection while running it.
 @SIM_ENABLE_ARCH_m32c_TRUE@m32c_OPC2C_RUN = ASAN_OPTIONS=detect_leaks=0 m32c/opc2c$(EXEEXT)
-@SIM_ENABLE_ARCH_m32r_TRUE@AM_CFLAGS_m32r_traps.o = -Wno-error
 @SIM_ENABLE_ARCH_m32r_TRUE@nodist_m32r_libsim_a_SOURCES = \
 @SIM_ENABLE_ARCH_m32r_TRUE@    m32r/modules.c
 
index bb9c84b2bb84e11d7c2ddf80e751e4fbdc0fe291..2b5d67ff9eb35c6e7b18b59e762ff77a0b0132cf 100644 (file)
@@ -16,9 +16,6 @@
 ## You should have received a copy of the GNU General Public License
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-## Some modules don't build cleanly yet.
-AM_CFLAGS_%C%_traps.o = -Wno-error
-
 nodist_%C%_libsim_a_SOURCES = \
        %D%/modules.c
 %C%_libsim_a_SOURCES = \