forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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