Skip to content
Snippets Groups Projects
Commit a80e2775 authored by deuce's avatar deuce
Browse files

Clear the environment before running the cryptlib submake.

This is because the Cryptlib makefile doesn't use $(MAKE) for submakes and
instead hardcodes the string "make" since gmake -C sets MAKEFLAGS to "w",
this ends up breaking builds on systems where the first make in the path
doesn't support the non-standard -w option.
parent 4084f950
Branches
Tags
No related merge requests found
......@@ -45,6 +45,6 @@ $(CRYPTLIB_BUILD): $(3RDP_ROOT)$(DIRSEP)dist/cryptlib.zip | $(CRYPT_SRC) $(CRYPT
@echo Creating $@ ...
$(QUIET)-rm -rf $(CRYPT_SRC)/*
$(QUIET)unzip -oua $(3RDPDISTDIR)$(DIRSEP)cryptlib.zip -d $(CRYPT_SRC)
$(QUIET)make -C $(CRYPT_SRC)
$(QUIET)env - PATH=$(PATH) make -C $(CRYPT_SRC)
$(QUIET)cp $(CRYPT_SRC)$(DIRSEP)libcl.a $(CRYPT_IDIR)
$(QUIET)cp $(CRYPT_SRC)$(DIRSEP)cryptlib.h $(CRYPT_IDIR)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment