libsecurity: set NDEBUG

This prevents debugging stuff from coming into play. This avoids some
headers from accidentally winding up in the .dylib file.
This commit is contained in:
Matthew Bauer 2018-07-02 17:50:40 -04:00
parent db414a2f5e
commit d568d5016a

@ -52,6 +52,7 @@ name: version: sha256: args: let
"-iframework ${pkgs.darwin.Security}/Library/Frameworks"
"-I."
"-Wno-deprecated-declarations"
"-DNDEBUG"
];
NIX_LDFLAGS = with pkgs.darwin; with apple_sdk.frameworks; [
"-L${libobjc}/lib"