sim: sync build_warnings handling with gdb
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Mar 2012 03:27:44 +0000 (03:27 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 23 Mar 2012 03:27:44 +0000 (03:27 +0000)
commitac0aacdffa67b3fab21e79cf439a09ed92ef3133
tree2ec06b5b5e939e5082bc561946df6bb3b08b0874
parent51dc010c5adf1043d55adef654cd2163e780d5bf
sim: sync build_warnings handling with gdb

The sim code gets the logic for SIM_AC_OPTION_WARNINGS from gdb, but
it hasn't been updated in a good long while.  Sync with the latest
gdb code.

There is a sim specific change in here: we disable -Werror for now.
This is because all sim code atm contains warnings.  Will probably
have to slowly add a white list of targets which can tolerate this
until everyone is updated.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/common/ChangeLog
sim/common/acinclude.m4