summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deps/openssl/config/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/openssl/config/Makefile b/deps/openssl/config/Makefile
index 300ab009d8..8923d17c85 100644
--- a/deps/openssl/config/Makefile
+++ b/deps/openssl/config/Makefile
@@ -27,7 +27,6 @@ COPTS = no-comp no-shared no-afalgeng
# disable platform check in Configure
NO_WARN_ENV = CONFIGURE_CHECKER_WARN=1
-GITIGNORE = $(OPSSL_SRC)/.gitignore
GENERATE = ./generate_gypi.pl
OPSSL_SRC = ../openssl
@@ -45,8 +44,9 @@ all: $(ARCHS) replace
# Configure and generate openssl asm files for each archs
$(ARCHS):
-# Remove openssl .gitignore to follow nodejs .gitignore
- if [ -e $(GITIGNORE) ]; then rm $(GITIGNORE); fi
+# Remove openssl git and travis configuration, nodejs has its own (and they
+# should not have been packaged by upstream).
+ rm -rf $(OPSSL_SRC)/.git* $(OPSSL_SRC)/.travis*
cd $(OPSSL_SRC); $(NO_WARN_ENV) CC=$(CC) $(PERL) $(CONFIGURE) $(COPTS) $@;
$(PERL) -w -I$(OPSSL_SRC) $(GENERATE) asm $@
# Confgure asm_avx2 and generate upto avx2 support