aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-04-18 21:13:34 -0400
committerMike Frysinger <vapier@gentoo.org>2021-04-18 21:16:03 -0400
commitd3b0ab8b36319f4232367b046ecfc0c656a177ad (patch)
treed61954ba1616acfd45c3cd5f7c987142465d3692 /sim/d10v/configure.ac
parent3912a8db685f5e19a883d02d66900cdf10a200f0 (diff)
downloadbinutils-d3b0ab8b36319f4232367b046ecfc0c656a177ad.zip
binutils-d3b0ab8b36319f4232367b046ecfc0c656a177ad.tar.gz
binutils-d3b0ab8b36319f4232367b046ecfc0c656a177ad.tar.bz2
sim: d10v: fix build warnings
The printf fix uses our PRIxTA for our sim address type. Then cast away the const (since the underlying code safely treats it as such) even if it's ugly. Finally touch up the argv iterator pointer to match the new func arg. With this tidied up, we can delete the SIM_AC_OPTION_WARNINGS(no) call to get the default common behavior where -Werror is enabled.
Diffstat (limited to 'sim/d10v/configure.ac')
-rw-r--r--sim/d10v/configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/sim/d10v/configure.ac b/sim/d10v/configure.ac
index 4417ba4..8114520 100644
--- a/sim/d10v/configure.ac
+++ b/sim/d10v/configure.ac
@@ -6,6 +6,5 @@ SIM_AC_COMMON
SIM_AC_OPTION_ENDIAN
SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT,STRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS(no)
SIM_AC_OUTPUT