summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch')
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch b/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch
new file mode 100644
index 0000000000..b3e87cbc46
--- /dev/null
+++ b/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch
@@ -0,0 +1,41 @@
1From 084cc44215c1d5e6d33bc3d2e1d24da4fc98bdcd Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 28 Dec 2020 16:38:21 +0800
4Subject: [PATCH 2/5] Improve reproducibility,
5
6Remove build patch from binaries which pg_config do
7not record var-CC, var-CFLAGS, and configure
8
9$ /usr/bin/pg_config --cc
10not recorded
11
12$ /usr/bin/pg_config --configure
13not recorded
14
15Upstream-Status: Inappropriate [oe specific]
16
17Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
18
19update patch for v13.1
20Signed-off-by: Changqing Li <changqing.li@windriver.com>
21---
22 src/common/Makefile | 3 ---
23 1 file changed, 3 deletions(-)
24
25diff --git a/src/common/Makefile b/src/common/Makefile
26index 113029b..58842a6 100644
27--- a/src/common/Makefile
28+++ b/src/common/Makefile
29@@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.global
30 # don't include subdirectory-path-dependent -I and -L switches
31 STD_CPPFLAGS := $(filter-out -I$(top_srcdir)/src/include -I$(top_builddir)/src/include,$(CPPFLAGS))
32 STD_LDFLAGS := $(filter-out -L$(top_builddir)/src/common -L$(top_builddir)/src/port,$(LDFLAGS))
33-override CPPFLAGS += -DVAL_CC="\"$(CC)\""
34-override CPPFLAGS += -DVAL_CPPFLAGS="\"$(STD_CPPFLAGS)\""
35-override CPPFLAGS += -DVAL_CFLAGS="\"$(CFLAGS)\""
36 override CPPFLAGS += -DVAL_CFLAGS_SL="\"$(CFLAGS_SL)\""
37 override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\""
38 override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\""
39--
402.25.1
41