Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 89dd9d8705408dccd5c5e47d22eba6fd6ec22b50 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tomasz Buchert <tomasz@debian.org> |
| 3 | Date: Thu, 9 Jul 2015 16:07:23 +0200 |
| 4 | Subject: [PATCH] fix reproducibility of build process |
| 5 | |
| 6 | The upstream Makefile sets macros that depend on |
| 7 | a particular platform where the package is built. |
| 8 | We don't set them which fixes the problem. |
| 9 | |
| 10 | Taken from debian |
| 11 | Upstream-Status: Pending |
| 12 | |
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 14 | --- |
| 15 | src/Makefile.in | 4 +--- |
| 16 | 1 file changed, 1 insertion(+), 3 deletions(-) |
| 17 | |
| 18 | diff --git a/src/Makefile.in b/src/Makefile.in |
| 19 | index 1993c9b..4392c06 100644 |
| 20 | --- a/src/Makefile.in |
| 21 | +++ b/src/Makefile.in |
| 22 | @@ -48,9 +48,7 @@ Makefile: Makefile.in ../config.status |
| 23 | |
| 24 | |
| 25 | version.o: version.c |
| 26 | - $(CC) $(CFLAGS) -DCOMPILE_HOST="\""`hostname`"\"" \ |
| 27 | - -DCOMPILE_DATE="\"`date`\"" \ |
| 28 | - -c $(srcdir)/version.c |
| 29 | + $(CC) $(CFLAGS) -c $(srcdir)/version.c |
| 30 | |
| 31 | |
| 32 | lex.yy.c: calc.lex |