mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
cc-wrapper: make availability warnings into errors
This commit is contained in:
@@ -35,3 +35,7 @@ elif [[ $0 != *cpp ]]; then
|
||||
extraBefore+=(-mabi=@explicitAbiValue@)
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "@darwinMinVersion@" ]]; then
|
||||
extraBefore+=(-Werror=unguarded-availability)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user