diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-10-08 17:22:04 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-10-08 17:22:18 +0300 |
commit | fd8148250c8c46fac04277e7a07f8dd2908dd477 (patch) | |
tree | e4ba2001706d8ca09dc38cfa0fdf73eec0e17d97 /debian/patches/filter-debug-prefix-map | |
download | postgresql-10-debian.tar.gz |
Imported postgresql-10 10.0-1debian/10.0-1debian
Diffstat (limited to 'debian/patches/filter-debug-prefix-map')
-rw-r--r-- | debian/patches/filter-debug-prefix-map | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/filter-debug-prefix-map b/debian/patches/filter-debug-prefix-map new file mode 100644 index 0000000..60d738a --- /dev/null +++ b/debian/patches/filter-debug-prefix-map @@ -0,0 +1,15 @@ +--- a/src/common/Makefile ++++ b/src/common/Makefile +@@ -30,10 +30,10 @@ LIBS += $(PTHREAD_LIBS) + # 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/port,$(LDFLAGS)) +-override CPPFLAGS += -DVAL_CONFIGURE="\"$(configure_args)\"" ++override CPPFLAGS += -DVAL_CONFIGURE="\"$(filter-out -fdebug-prefix-map%,$(configure_args))\"" + override CPPFLAGS += -DVAL_CC="\"$(CC)\"" + override CPPFLAGS += -DVAL_CPPFLAGS="\"$(STD_CPPFLAGS)\"" +-override CPPFLAGS += -DVAL_CFLAGS="\"$(CFLAGS)\"" ++override CPPFLAGS += -DVAL_CFLAGS="\"$(filter-out -fdebug-prefix-map%,$(CFLAGS))\"" + override CPPFLAGS += -DVAL_CFLAGS_SL="\"$(CFLAGS_SL)\"" + override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\"" + override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\"" |