From b903fb604a9759a54f02e3675fcec2a0e571e3c0 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 17 Dec 2017 12:56:24 +0100 Subject: [PATCH 1/1] Restore the use of LDCMD when linking applications It is a hack, but it existed in the recently removed Makefile.shared, and its use is documented in fuzz/README.md, so we cannot drop it now. Fixes https://github.com/google/oss-fuzz/issues/1037 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4947) --- Configurations/unix-Makefile.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index a514833953..43b1f03a2b 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -1053,7 +1053,7 @@ EOF return <<"EOF"; $bin$exeext: $objs $deps rm -f $bin$exeext - $cmd $cmdflags \$(LDFLAGS) \$(BIN_LDFLAGS) -o $bin$exeext $objs \\ + \$\${LDCMD:-$cmd} $cmdflags \$(LDFLAGS) \$(BIN_LDFLAGS) -o $bin$exeext $objs \\ \$(PLIB_LDFLAGS) $linklibs \$(EX_LIBS) EOF } -- 2.34.1