From 3c17f160e39d96d6e29b3e379bdf20169bacd75f 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 8a1ca4893a8b69..f6eabf137d3ad7 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -411,6 +411,13 @@ added: v6.0.0 Silence all process warnings (including deprecations). +### `--force-context-aware` + + +Disable loading non-context-aware native addons. + ### `--openssl-config=file`