blob: e9bc6240de497dbfb168df9cfbeb39293eb7a77e [file] [log] [blame]
Andrew Geissler72956ed2021-01-08 16:11:14 -06001From 71fbee3888ee889a269eded5585ed7591bcbe9dd Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 28 Dec 2020 16:38:21 +0800
Brad Bishop15ae2502019-06-18 21:44:24 -04004Subject: [PATCH] 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>
Andrew Geissler72956ed2021-01-08 16:11:14 -060018
19update patch for v13.1
20Signed-off-by: Changqing Li <changqing.li@windriver.com>
Brad Bishop15ae2502019-06-18 21:44:24 -040021---
Andrew Geissler72956ed2021-01-08 16:11:14 -060022 src/common/Makefile | 3 ---
23 1 file changed, 3 deletions(-)
Brad Bishop15ae2502019-06-18 21:44:24 -040024
Brad Bishop15ae2502019-06-18 21:44:24 -040025--- a/src/common/Makefile
26+++ b/src/common/Makefile
Andrew Geissler97771a32021-03-05 15:23:11 -060027@@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.glo
Brad Bishop15ae2502019-06-18 21:44:24 -040028 # don't include subdirectory-path-dependent -I and -L switches
29 STD_CPPFLAGS := $(filter-out -I$(top_srcdir)/src/include -I$(top_builddir)/src/include,$(CPPFLAGS))
30 STD_LDFLAGS := $(filter-out -L$(top_builddir)/src/common -L$(top_builddir)/src/port,$(LDFLAGS))
Brad Bishop15ae2502019-06-18 21:44:24 -040031-override CPPFLAGS += -DVAL_CC="\"$(CC)\""
32-override CPPFLAGS += -DVAL_CPPFLAGS="\"$(STD_CPPFLAGS)\""
33-override CPPFLAGS += -DVAL_CFLAGS="\"$(CFLAGS)\""
34 override CPPFLAGS += -DVAL_CFLAGS_SL="\"$(CFLAGS_SL)\""
35 override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\""
36 override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\""