blob: cecb70bc99f765298b2ee6c6194f8e4e28a08130 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 89dd9d8705408dccd5c5e47d22eba6fd6ec22b50 Mon Sep 17 00:00:00 2001
2From: Tomasz Buchert <tomasz@debian.org>
3Date: Thu, 9 Jul 2015 16:07:23 +0200
4Subject: [PATCH] fix reproducibility of build process
5
6The upstream Makefile sets macros that depend on
7a particular platform where the package is built.
8We don't set them which fixes the problem.
9
10Taken from debian
11Upstream-Status: Pending
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/Makefile.in | 4 +---
16 1 file changed, 1 insertion(+), 3 deletions(-)
17
18diff --git a/src/Makefile.in b/src/Makefile.in
19index 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