From 119d31f8c469a5191092d9d8c64b41d2b4af2669 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 19 Sep 2019 22:16:04 -0700 Subject: [PATCH 1/2] src: add buildflag to force context-aware addons --- 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 af54fbe7c030ca..92a6a48e27d2b1 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -427,6 +427,13 @@ added: v6.0.0 Silence all process warnings (including deprecations). +### `--force-context-aware` + + +Disable loading non-context-aware native addons. + ### `--openssl-config=file` -Disable loading non-context-aware native addons. +Disable loading native addons that are not [context-aware][]. ### `--openssl-config=file`