mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
e42d1e758f
fixes: WARNING: postgresql-12.16-r0 do_patch: Fuzz detected: Applying patch 0001-Add-support-for-RISC-V.patch patching file src/include/storage/s_lock.h Hunk #2 succeeded at 339 with fuzz 1. Signed-off-by: Armin Kuster <akuster808@gmail.com>
37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
From 3c13315447fa175da6c9ebe59a039e611cdb5bd1 Mon Sep 17 00:00:00 2001
|
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Date: Tue, 4 Jun 2019 13:45:30 +0800
|
|
Subject: [PATCH] Improve reproducibility,
|
|
|
|
Remove build patch from binaries which pg_config do
|
|
not record var-CC, var-CFLAGS, and configure
|
|
|
|
$ /usr/bin/pg_config --cc
|
|
not recorded
|
|
|
|
$ /usr/bin/pg_config --configure
|
|
not recorded
|
|
|
|
Upstream-Status: Inappropriate [oe specific]
|
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
---
|
|
src/common/Makefile | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
Index: postgresql-12.16/src/common/Makefile
|
|
===================================================================
|
|
--- postgresql-12.16.orig/src/common/Makefile
|
|
+++ postgresql-12.16/src/common/Makefile
|
|
@@ -31,10 +31,6 @@ include $(top_builddir)/src/Makefile.glo
|
|
# don't include subdirectory-path-dependent -I and -L switches
|
|
STD_CPPFLAGS := $(filter-out -I$(top_srcdir)/src/include -I$(top_builddir)/src/include,$(CPPFLAGS))
|
|
STD_LDFLAGS := $(filter-out -L$(top_builddir)/src/common -L$(top_builddir)/src/port,$(LDFLAGS))
|
|
-override CPPFLAGS += -DVAL_CONFIGURE="\"$(configure_args)\""
|
|
-override CPPFLAGS += -DVAL_CC="\"$(CC)\""
|
|
-override CPPFLAGS += -DVAL_CPPFLAGS="\"$(STD_CPPFLAGS)\""
|
|
-override CPPFLAGS += -DVAL_CFLAGS="\"$(CFLAGS)\""
|
|
override CPPFLAGS += -DVAL_CFLAGS_SL="\"$(CFLAGS_SL)\""
|
|
override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\""
|
|
override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\""
|