build: work around ccache/autotools warning-spamming bug
When using clang and ccache, builds spew lots of: Clang: warning: argument unused during compilation Upstream bug: https://bugzilla.samba.org/show_bug.cgi?id=8118 This is harmless, bug annoying. If ccache is being used and the -Qunused-arguments flag is supported (clang), use it.
This commit is contained in:
parent
752f2b36c8
commit
386efb7695
@ -656,6 +656,9 @@ if test "x$use_ccache" != "xno"; then
|
|||||||
fi
|
fi
|
||||||
AC_MSG_RESULT($use_ccache)
|
AC_MSG_RESULT($use_ccache)
|
||||||
fi
|
fi
|
||||||
|
if test "x$use_ccache" = "xyes"; then
|
||||||
|
AX_CHECK_PREPROC_FLAG([-Qunused-arguments],[CPPFLAGS="-Qunused-arguments $CPPFLAGS"])
|
||||||
|
fi
|
||||||
|
|
||||||
dnl enable wallet
|
dnl enable wallet
|
||||||
AC_MSG_CHECKING([if wallet should be enabled])
|
AC_MSG_CHECKING([if wallet should be enabled])
|
||||||
|
Loading…
Reference in New Issue
Block a user