File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ OBJS = src/init.o src/relation_info.o src/utils.o src/partition_filter.o \
10
10
src/compat/pg_compat.o src/compat/relation_tags.o src/compat/expand_rte_hook.o \
11
11
src/compat/rowmarks_fix.o $(WIN32RES )
12
12
13
- PG_CPPFLAGS = -I$(CURDIR ) /src/include
13
+ override PG_CPPFLAGS + = -I$(CURDIR ) /src/include
14
14
15
15
EXTENSION = pg_pathman
16
16
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ CFLAGS += -I$(CURDIR)/../../src/include
7
7
CFLAGS += $(shell $(PG_CONFIG ) --cflags_sl)
8
8
CFLAGS += $(shell $(PG_CONFIG ) --cflags)
9
9
CFLAGS += $(CFLAGS_SL )
10
+ CFLAGS += $(PG_CPPFLAGS )
10
11
LDFLAGS = -lcmocka
11
12
TEST_BIN = rangeset_tests
12
13
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ LD_LIBRARY_PATH=/usr/local/lib
126
126
export LD_LIBRARY_PATH
127
127
128
128
# run cmocka tests (using CFLAGS_SL for gcov)
129
- make USE_PGXS=1 PG_CONFIG=$config_path CFLAGS_SL= " $( $config_path --cflags_sl ) -coverage" cmocka_tests || status=$?
129
+ make USE_PGXS=1 PG_CONFIG=$config_path PG_CPPFLAGS= " -coverage" cmocka_tests || status=$?
130
130
131
131
# remove useless gcov files
132
132
rm -f tests/cmocka/* .gcno
You can’t perform that action at this time.
0 commit comments