diff options
author | Ori Avtalion | 2010-04-09 12:30:45 +0000 |
---|---|---|
committer | Ori Avtalion | 2010-04-09 12:30:45 +0000 |
commit | be31842b1c2e08106b3fc829b0c5304c7f7e96d7 (patch) | |
tree | 951ff38733fafcbad4884b4df106231631d1116c | |
parent | f2f0e1aa67dda73aeba9caa6dd62edbfbf992947 (diff) | |
download | scummvm-rg350-be31842b1c2e08106b3fc829b0c5304c7f7e96d7.tar.gz scummvm-rg350-be31842b1c2e08106b3fc829b0c5304c7f7e96d7.tar.bz2 scummvm-rg350-be31842b1c2e08106b3fc829b0c5304c7f7e96d7.zip |
Future-proof gcc >= 4.3 test (Will break on version 5.0)
svn-id: r48595
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2370,7 +2370,8 @@ if test "$have_gcc" = yes ; then add_line_to_config_mk 'CXX_UPDATE_DEP_FLAG = -MMD -MF "$(*D)/$(DEPDIR)/$(*F).d" -MQ "$@" -MP' fi; - if test "$_cxx_major" -ge "4" && test "$_cxx_minor" -ge "3" ; then + if test "$_cxx_major" -eq 4 && test "$_cxx_minor" -ge 3 || \ + test "$_cxx_major" -gt 4 ; then CXXFLAGS="$CXXFLAGS -Wno-empty-body" else CXXFLAGS="$CXXFLAGS -Wconversion" |