From 1aa99df99bb9ffcd9a6bd5af4c0f16c99c499d54 Mon Sep 17 00:00:00 2001 From: Jon Kunkee Date: Thu, 2 May 2019 12:12:28 -0700 Subject: deps: make VC-WIN config generation deterministic This change adds a clean target to the VC-WIN* Makefiles, then adjusts the config generation script to call it before config file generation as well as after. This prevents files from previous configurations from causing make to incorrectly assume the files are up to date. PR-URL: https://github.com/nodejs/node/pull/27543 Reviewed-By: Sam Roberts Reviewed-By: Rich Trott --- deps/openssl/config/generate_gypi.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deps/openssl/config/generate_gypi.pl') diff --git a/deps/openssl/config/generate_gypi.pl b/deps/openssl/config/generate_gypi.pl index 891ccb62bb..978ddbb3b3 100755 --- a/deps/openssl/config/generate_gypi.pl +++ b/deps/openssl/config/generate_gypi.pl @@ -46,7 +46,7 @@ my $makefile = $is_win ? "../config/Makefile_$arch": "Makefile"; # Generate arch dependent header files with Makefile my $buildinf = "crypto/buildinf.h"; my $progs = "apps/progs.h"; -my $cmd1 = "cd ../openssl; make -f $makefile build_generated $buildinf $progs;"; +my $cmd1 = "cd ../openssl; make -f $makefile clean build_generated $buildinf $progs;"; system($cmd1) == 0 or die "Error in system($cmd1)"; # Copy and move all arch dependent header files into config/archs -- cgit v1.2.3