cc-wrapper: make availability warnings into errors

This commit is contained in:
Randy Eckenrode 2025-06-27 20:36:21 -04:00
parent 095530e4e3
commit 369cc5c66b
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -35,3 +35,7 @@ elif [[ $0 != *cpp ]]; then
extraBefore+=(-mabi=@explicitAbiValue@)
fi
fi
if [[ "@darwinMinVersion@" ]]; then
extraBefore+=(-Werror=unguarded-availability)
fi