diff options
| author | Gerd Hoffmann | 2013-01-09 10:17:07 +0100 |
|---|---|---|
| committer | Blue Swirl | 2013-01-12 13:42:53 +0100 |
| commit | cc6e3ca93c1b40fba579e8724dd06ca9f0507b31 (patch) | |
| tree | 3d399ad9e3ed9503b44ba96f31926b53afb8e9ec /configure | |
| parent | optionrom: build with discrete CPP and AS steps (diff) | |
| download | qemu-cc6e3ca93c1b40fba579e8724dd06ca9f0507b31.tar.gz qemu-cc6e3ca93c1b40fba579e8724dd06ca9f0507b31.tar.xz qemu-cc6e3ca93c1b40fba579e8724dd06ca9f0507b31.zip | |
gcc: rename CONFIG_PRAGMA_DISABLE_UNUSED_BUT_SET to CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3078,7 +3078,7 @@ int main(void) { } EOF if compile_prog "-Werror" "" ; then - pragma_disable_unused_but_set=yes + pragma_diagnostic_available=yes fi ######################################## @@ -3648,8 +3648,8 @@ if test "$linux_magic_h" = "yes" ; then echo "CONFIG_LINUX_MAGIC_H=y" >> $config_host_mak fi -if test "$pragma_disable_unused_but_set" = "yes" ; then - echo "CONFIG_PRAGMA_DISABLE_UNUSED_BUT_SET=y" >> $config_host_mak +if test "$pragma_diagnostic_available" = "yes" ; then + echo "CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE=y" >> $config_host_mak fi if test "$valgrind_h" = "yes" ; then |
