Skip to content

Commit

Permalink
Revert "Fix detection of unknown gcc function attributes"
Browse files Browse the repository at this point in the history
This reverts commit 813d942.
  • Loading branch information
devnexen committed Jun 3, 2022
1 parent ae8c2bc commit 0a47fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/ax_gcc_func_attribute.m4
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [
dnl GCC doesn't exit with an error if an unknown attribute is
dnl provided but only outputs a warning, so accept the attribute
dnl only if no warning were issued.
[AS_IF([grep -- -Wattributes conftest.err],
[AS_IF([test -s conftest.err],
[AS_VAR_SET([ac_var], [no])],
[AS_VAR_SET([ac_var], [yes])])],
[AS_VAR_SET([ac_var], [no])])
Expand Down

0 comments on commit 0a47fdf

Please sign in to comment.