sim: always call SIM_AC_OPTION_WARNINGS
Now that all ports have opted in to this, we can require it in the core. It guarantees that new ports have them turned on, and defaults to -Werror in the hopes that new ports keep their code clean from the start. We do this as a sep commit to make it clear that there are no changes to existing ports as they've all explicitly called it already.
This commit is contained in:
parent
5c1008a41f
commit
9c70334dee
@ -1,3 +1,7 @@
|
||||
2021-01-11 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* acinclude.m4 (SIM_AC_OUTPUT): Require SIM_AC_OPTION_WARNINGS.
|
||||
|
||||
2021-01-11 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-core.c (sim_memory_map): Change %#x to PRIxTW.
|
||||
|
||||
@ -821,7 +821,9 @@ dnl one afterwards. The two pieces of the common fragment are inserted into
|
||||
dnl the target's fragment at the appropriate points.
|
||||
|
||||
AC_DEFUN([SIM_AC_OUTPUT],
|
||||
[
|
||||
[dnl
|
||||
AC_REQUIRE([SIM_AC_OPTION_WARNINGS])dnl
|
||||
|
||||
dnl Make @cgen_breaks@ non-null only if the sim uses CGEN.
|
||||
cgen_breaks=""
|
||||
if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user