summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/Configurations/unix-Makefile.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/Configurations/unix-Makefile.tmpl')
-rw-r--r--deps/openssl/openssl/Configurations/unix-Makefile.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/openssl/openssl/Configurations/unix-Makefile.tmpl b/deps/openssl/openssl/Configurations/unix-Makefile.tmpl
index 40cf2c3df4..034d93e653 100644
--- a/deps/openssl/openssl/Configurations/unix-Makefile.tmpl
+++ b/deps/openssl/openssl/Configurations/unix-Makefile.tmpl
@@ -664,8 +664,10 @@ tar:
DISTDIR=$(NAME); \
mkdir -p $$TMPDIR/$$DISTDIR; \
(cd $(SRCDIR); \
+ excl_re="^(fuzz/corpora|Configurations/.*\.norelease\.conf)"; \
+ echo "$$excl_re"; \
git ls-tree -r --name-only --full-tree HEAD \
- | grep -v '^fuzz/corpora' \
+ | egrep -v "$$excl_re" \
| while read F; do \
mkdir -p $$TMPDIR/$$DISTDIR/`dirname $$F`; \
cp $$F $$TMPDIR/$$DISTDIR/$$F; \
@@ -848,7 +850,7 @@ EOF
$recipe .= <<"EOF";
$obj$objext: $deps
( trap "rm -f \$@.*" INT 0; \\
- \$(CPP) $incs \$(CFLAGS) $ecflags $srcs | \\
+ \$(CC) $incs \$(CFLAGS) $ecflags -E $srcs | \\
\$(PERL) -ne '/^#(line)?\\s*[0-9]+/ or print' > \$@.s && \\
\$(CC) \$(CFLAGS) $ecflags -c -o \$\@ \$@.s )
EOF