fix pg_trgm compile error

This commit is contained in:
zhang_xubo
2022-08-10 11:42:01 +08:00
parent 87ff25d82b
commit 7a8ae4b0e3

View File

@ -8,6 +8,9 @@ DATA = pg_trgm--1.0.sql pg_trgm--unpackaged--1.0.sql
REGRESS = pg_trgm
exclude_option = -fPIE
override CPPFLAGS := $(filter-out $(exclude_option),$(CPPFLAGS))
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)