mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 03:44:07 +01:00
cc-wrapper: make availability warnings into errors
This commit is contained in:
parent
095530e4e3
commit
369cc5c66b
1 changed files with 4 additions and 0 deletions
|
|
@ -35,3 +35,7 @@ elif [[ $0 != *cpp ]]; then
|
|||
extraBefore+=(-mabi=@explicitAbiValue@)
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "@darwinMinVersion@" ]]; then
|
||||
extraBefore+=(-Werror=unguarded-availability)
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue