mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
build: Fix -Xclang -internal-isystem
option
LLVM Clang >=16.0 and Apple Clang >=15.0 do not recognize `-Xclang -internal-isystem/usr/local/include` anymore. For example, see:cbbe1d4454
Github-Pull: #29195 Rebased-From:8decc5c726
This commit is contained in:
parent
74df372750
commit
72eab1ca64
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ case $host in
|
||||||
dnl option to system-ify all /usr/local/include paths without adding it to the list
|
dnl option to system-ify all /usr/local/include paths without adding it to the list
|
||||||
dnl of search paths in case it's not already there.
|
dnl of search paths in case it's not already there.
|
||||||
if test "$suppress_external_warnings" != "no"; then
|
if test "$suppress_external_warnings" != "no"; then
|
||||||
AX_CHECK_PREPROC_FLAG([-Xclang -internal-isystem/usr/local/include], [CORE_CPPFLAGS="$CORE_CPPFLAGS -Xclang -internal-isystem/usr/local/include"], [], [$CXXFLAG_WERROR])
|
AX_CHECK_PREPROC_FLAG([-Xclang -internal-isystem -Xclang /usr/local/include/], [CORE_CPPFLAGS="$CORE_CPPFLAGS -Xclang -internal-isystem -Xclang /usr/local/include/"], [], [$CXXFLAG_WERROR])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$use_bdb" != "no" && $BREW list --versions berkeley-db@4 >/dev/null && test "$BDB_CFLAGS" = "" && test "$BDB_LIBS" = ""; then
|
if test "$use_bdb" != "no" && $BREW list --versions berkeley-db@4 >/dev/null && test "$BDB_CFLAGS" = "" && test "$BDB_LIBS" = ""; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue