From e8734a47719559bd285e57231744402af2a4629e Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 14 Apr 2022 08:44:32 +0200 Subject: [PATCH] deps: add note about removing asm archs PR-URL: https://github.com/nodejs/node/pull/42616 Fixes: https://github.com/nodejs/node/issues/42081 Reviewed-By: James M Snell Reviewed-By: Richard Lau --- deps/openssl/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/deps/openssl/README.md b/deps/openssl/README.md index 225bfba8e7425c..d2d1d26c182015 100644 --- a/deps/openssl/README.md +++ b/deps/openssl/README.md @@ -75,6 +75,18 @@ little) These are listed in [config/Makefile](config/Makefile). Please refer [config/opensslconf_asm.h](config/opensslconf_asm.h) for details. +To remove or add an architecture the templates need to be updated for which +there are two: +* include_asm.h.tmpl +* include_no-asm.h.tmpl + +Remove the architecture in question from these files and then run: +```console +$ make generate-headers +``` +Also remove the architecture from the list of supported ASM architectures in +[README.md](../README.md#supported-architectures-for-use-of-asm) + ### Upgrading OpenSSL Please refer to [maintaining-openssl](../../doc/contributing/maintaining-openssl.md).