OSDN Git Service

configure: Clean up warning flag lists
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 17 Jun 2020 20:13:06 +0000 (13:13 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Jun 2020 09:26:02 +0000 (10:26 +0100)
commit00849b92247403bf5b23fc997e1b383cad8a3759
tree4f603d633310b027ff7d231d34d7c54ac4dd794d
parent92271402177bb02930113a853f64952d8689b0c0
configure: Clean up warning flag lists

Use a helper function to tidy the assembly of gcc_flags.
Separate flags that disable warnings from those that enable,
and sort the disable warnings to the end.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200617201309.1640952-4-richard.henderson@linaro.org
Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
configure