configure: convert -I to -isystem as a last step

As all the -I uses in CFLAGS at that point are for system headers and
third party libraries this helps us remove/ignore warnings on those!

Closes #5060
This commit is contained in:
Daniel Stenberg 2020-03-08 11:08:13 +01:00
parent 77b62fe6e1
commit 27ea8fc2fa
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 6 additions and 5 deletions

View file

@ -4259,6 +4259,8 @@ if test "$want_thres" = "yes" && test "x$USE_THREADS_POSIX" != "x1"; then
fi
fi
CURL_CONVERT_INCLUDE_TO_ISYSTEM
dnl ************************************************************
dnl disable verbose text strings
dnl