diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-10-23 06:00:02 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-10-23 06:00:02 +0000 |
commit | a498e2e786652c2b64ce37fd6cdd3f5211d35de4 (patch) | |
tree | fd0ddeea5bc5fbbd6edaef28982a81f40734c0f7 /lib | |
parent | edf5358fc96a5cdd48151d6b385d111bff0573dc (diff) |
Import Mesa 17.3.9
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mesa/m4/ax_check_compile_flag.m4 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/mesa/m4/ax_check_compile_flag.m4 b/lib/mesa/m4/ax_check_compile_flag.m4 index 0fdca907e..51df0c09a 100644 --- a/lib/mesa/m4/ax_check_compile_flag.m4 +++ b/lib/mesa/m4/ax_check_compile_flag.m4 @@ -55,11 +55,6 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -# Emil: -# Toggle Werror since at some point clang started treating unknown -W -# flags as warnings, succeeding with the build, yet issuing an annoying -# warning. - #serial 3 AC_DEFUN([AX_CHECK_COMPILE_FLAG], @@ -67,7 +62,7 @@ AC_DEFUN([AX_CHECK_COMPILE_FLAG], AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS - _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1 -Werror" + _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], [AS_VAR_SET(CACHEVAR,[yes])], [AS_VAR_SET(CACHEVAR,[no])]) |