From 2d643eed1ddb7883f35829ef8f2a0f26c8f57658 Mon Sep 17 00:00:00 2001 From: hemny Date: Tue, 21 Jul 2020 22:40:25 +0800 Subject: [PATCH] openGauss supports pg_stat_statements --- contrib/pg_stat_statements/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/pg_stat_statements/Makefile b/contrib/pg_stat_statements/Makefile index e8aed6121..6d4631d20 100644 --- a/contrib/pg_stat_statements/Makefile +++ b/contrib/pg_stat_statements/Makefile @@ -17,3 +17,6 @@ top_builddir = ../.. include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk endif + +exclude_option=-fPIE +override CPPFLAGS := $(filter-out $(exclude_option),$(CPPFLAGS))