diff --git a/contrib/dblink/Makefile b/contrib/dblink/Makefile index b84dc2ecd..b6b31d56e 100644 --- a/contrib/dblink/Makefile +++ b/contrib/dblink/Makefile @@ -9,6 +9,9 @@ SHLIB_PREREQS = submake-libpq EXTENSION = dblink DATA = dblink--1.0.sql dblink--unpackaged--1.0.sql +exclude_option = -fPIE +override CPPFLAGS := $(filter-out $(exclude_option),$(CPPFLAGS)) + REGRESS = dblink # the db name is hard-coded in the tests