summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-06-12 08:56:21 +0200
committerRichard Levitte <levitte@openssl.org>2018-06-12 12:31:45 +0200
commitaa6cc8d33c107c8b6d2e9bbffe52086e191f607b (patch)
tree787ab6628d6710286bfeff04b11d648aaf2f87ac /Configurations
parentb9def672b123ce3d1102683f13c61bc68a07c5b0 (diff)
make errors: use the new util/ck_errf.pl options
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6461)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/unix-Makefile.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 4451232046..10deec6f07 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -760,11 +760,13 @@ generate_fuzz_oids:
# Set to -force to force a rebuild
ERROR_REBUILD=
errors:
- ( cd $(SRCDIR); $(PERL) util/ck_errf.pl -strict */*.c */*/*.c )
- ( b=`pwd`; cd $(SRCDIR); \
+ ( b=`pwd`; set -e; cd $(SRCDIR); \
+ $(PERL) util/ck_errf.pl -strict -internal; \
$(PERL) -I$$b util/mkerr.pl $(ERROR_REBUILD) -internal )
- ( b=`pwd`; cd $(SRCDIR)/engines; \
+ ( b=`pwd`; set -e; cd $(SRCDIR)/engines; \
for E in *.ec ; do \
+ $(PERL) ../util/ck_errf.pl -strict \
+ -conf $$E `basename $$E .ec`.c; \
$(PERL) -I$$b ../util/mkerr.pl $(ERROR_REBUILD) -static \
-conf $$E `basename $$E .ec`.c ; \
done )