github: inhibit deprecated declarations for clang on macOS

... as they otherwise cause ldap build errors in the CI.

Fixes #7081
Closes #7082
This commit is contained in:
Daniel Stenberg 2021-05-17 13:20:54 +02:00
parent 0c55fbab45
commit e53a0f6833
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ jobs:
compiler:
- CC: clang
CXX: clang++
CFLAGS: "-mmacosx-version-min=10.15"
CFLAGS: "-mmacosx-version-min=10.15 -Wno-deprecated-declarations"
- CC: gcc-8
CXX: g++-8
CFLAGS: "-mmacosx-version-min=10.15 -Wno-error=undef -Wno-error=conversion"