Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90c48a5

Browse files
committed
slightly improve Makefiles
1 parentc3cedda commit90c48a5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ OBJS = src/init.o src/relation_info.o src/utils.o src/partition_filter.o \
1010
src/compat/pg_compat.o src/compat/relation_tags.o src/compat/expand_rte_hook.o\
1111
src/compat/rowmarks_fix.o$(WIN32RES)
1212

13-
PG_CPPFLAGS = -I$(CURDIR)/src/include
13+
overridePG_CPPFLAGS+= -I$(CURDIR)/src/include
1414

1515
EXTENSION = pg_pathman
1616

‎tests/cmocka/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ CFLAGS += -I$(CURDIR)/../../src/include
77
CFLAGS +=$(shell$(PG_CONFIG) --cflags_sl)
88
CFLAGS +=$(shell$(PG_CONFIG) --cflags)
99
CFLAGS +=$(CFLAGS_SL)
10+
CFLAGS +=$(PG_CPPFLAGS)
1011
LDFLAGS = -lcmocka
1112
TEST_BIN = rangeset_tests
1213

‎travis/pg-travis-test.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ LD_LIBRARY_PATH=/usr/local/lib
126126
export LD_LIBRARY_PATH
127127

128128
# run cmocka tests (using CFLAGS_SL for gcov)
129-
make USE_PGXS=1 PG_CONFIG=$config_pathCFLAGS_SL="$($config_path --cflags_sl)-coverage" cmocka_tests|| status=$?
129+
make USE_PGXS=1 PG_CONFIG=$config_pathPG_CPPFLAGS="-coverage" cmocka_tests|| status=$?
130130

131131
# remove useless gcov files
132132
rm -f tests/cmocka/*.gcno

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp