0003-Reproducible-build-do-not-leak-compiler-path.patch 822 B

1234567891011121314151617181920212223242526
  1. From 875fcad2ad84877763cba86c1265b57679b878b0 Mon Sep 17 00:00:00 2001
  2. From: Peter Seiderer <ps.report@gmx.net>
  3. Date: Tue, 24 Oct 2017 16:58:32 +0200
  4. Subject: [PATCH] Reproducible build: do not leak compiler path
  5. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  6. ---
  7. crypto/Makefile | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/crypto/Makefile b/crypto/Makefile
  10. index 7869996..7e63291 100644
  11. --- a/crypto/Makefile
  12. +++ b/crypto/Makefile
  13. @@ -55,7 +55,7 @@ top:
  14. all: shared
  15. buildinf.h: ../Makefile
  16. - $(PERL) $(TOP)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" >buildinf.h
  17. + $(PERL) $(TOP)/util/mkbuildinf.pl "$$(basename $(CC)) $(CFLAGS)" "$(PLATFORM)" >buildinf.h
  18. x86cpuid.s: x86cpuid.pl perlasm/x86asm.pl
  19. $(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
  20. --
  21. 2.11.0