diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-28 23:32:06 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-28 23:32:06 +0000 |
| commit | 42e94d11a199e50f01a95cccb438bee73e9b06c6 (patch) | |
| tree | 5737dc630722275972f36c5f98223d89bd814f05 /llvm/autoconf/m4 | |
| parent | 0f70a6f51e7e98c83cf245e358a465d3c32c13a1 (diff) | |
| download | bcm5719-llvm-42e94d11a199e50f01a95cccb438bee73e9b06c6.tar.gz bcm5719-llvm-42e94d11a199e50f01a95cccb438bee73e9b06c6.zip | |
Enable -Wcovered-switch-default again, but add -Werror to the checks to make
sure we don't use it with compilers that don't support it.
llvm-svn: 151665
Diffstat (limited to 'llvm/autoconf/m4')
| -rw-r--r-- | llvm/autoconf/m4/cxx_flag_check.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/autoconf/m4/cxx_flag_check.m4 b/llvm/autoconf/m4/cxx_flag_check.m4 index ab09f2af5cf..62454b7147f 100644 --- a/llvm/autoconf/m4/cxx_flag_check.m4 +++ b/llvm/autoconf/m4/cxx_flag_check.m4 @@ -1,2 +1,2 @@ AC_DEFUN([CXX_FLAG_CHECK], - [AC_SUBST($1, `$CXX $2 -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)]) + [AC_SUBST($1, `$CXX -Werror $2 -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)]) |

