From 6bfe8f47fa70c113aea024452d6af840d960a127 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 19 Sep 2019 22:16:04 -0700 Subject: [PATCH] src: add buildflag to force context-aware addons PR-URL: https://github.com/nodejs/node/pull/29631 Reviewed-By: Anna Henningsen Reviewed-By: Ben Noordhuis --- doc/api/cli.md | 8 ++++++++ doc/api/errors.md | 5 +++++ src/node_binding.cc | 8 ++++++++ src/node_errors.h | 3 +++ src/node_options.cc | 4 ++++ src/node_options.h | 1 + 6 files changed, 29 insertions(+) diff --git a/doc/api/cli.md b/doc/api/cli.md index 0ac58dba3510fb..4753b35591113f 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -439,6 +439,13 @@ added: v6.0.0 Silence all process warnings (including deprecations). +### `--force-context-aware` + + +Disable loading non-context-aware native addons. + ### `--openssl-config=file`