8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
10 lines
339 B
Bash
10 lines
339 B
Bash
noDeprecatedDeclarations() {
|
|
# Security.framework has about 2000 deprecated constants, all of which the user will be
|
|
# warned about at compilation time
|
|
flag="-Wno-deprecated-declarations"
|
|
if [[ "${NIX_CFLAGS_COMPILE-}" != *$flag* ]]; then
|
|
NIX_CFLAGS_COMPILE+=" $flag"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$hostOffset" noDeprecatedDeclarations
|