The rx simulator now has no build warnings.  Delete the call to
SIM_AC_OPTION_WARNINGS in configure.ac, the default yes will be
provided by SIM_AC_OUTPUT.
sim/rx/ChangeLog:
	* configure: Regenerate.
	* configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * configure: Regenerate.
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
+
 2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * mem.c (mem_put_blk): Rename parameter, add cast from parameter
 
 fi
 
 WERROR_CFLAGS=""
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
 
 sinclude(../common/acinclude.m4)
 
 SIM_AC_COMMON
-SIM_AC_OPTION_WARNINGS(no)
 
 AC_CHECK_HEADERS(getopt.h)