From 89dd9d8705408dccd5c5e47d22eba6fd6ec22b50 Mon Sep 17 00:00:00 2001
|
From: Tomasz Buchert <tomasz@debian.org>
|
Date: Thu, 9 Jul 2015 16:07:23 +0200
|
Subject: [PATCH] fix reproducibility of build process
|
|
The upstream Makefile sets macros that depend on
|
a particular platform where the package is built.
|
We don't set them which fixes the problem.
|
|
Taken from debian
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
---
|
src/Makefile.in | 4 +---
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
diff --git a/src/Makefile.in b/src/Makefile.in
|
index 1993c9b..4392c06 100644
|
--- a/src/Makefile.in
|
+++ b/src/Makefile.in
|
@@ -48,9 +48,7 @@ Makefile: Makefile.in ../config.status
|
|
|
version.o: version.c
|
- $(CC) $(CFLAGS) -DCOMPILE_HOST="\""`hostname`"\"" \
|
- -DCOMPILE_DATE="\"`date`\"" \
|
- -c $(srcdir)/version.c
|
+ $(CC) $(CFLAGS) -c $(srcdir)/version.c
|
|
|
lex.yy.c: calc.lex
|