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

Commit332d406

Browse files
committed
Further cleanup for recent JSON-related commits.
The link commands in test_json_parser/Makefile were a long wayshy of a load, as evidenced by buildfarm failures. Model themon pgxs.mk's PROGRAM rule. (Probably we should have put thesetwo test programs in different subdirectories so we couldactually use the PROGRAM rule. But I won't question thatdecision today.)
1 parent2497a66 commit332d406

File tree

1 file changed

+4
-6
lines changed
  • src/test/modules/test_json_parser

1 file changed

+4
-6
lines changed

‎src/test/modules/test_json_parser/Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ all: test_json_parser_incremental$(X) test_json_parser_perf$(X)
2323

2424
%.o:$(top_srcdir)/$(subdir)/%.c
2525

26-
PARSER_LIBS =$(top_builddir)/src/common/libpgcommon.a$(top_builddir)/src/port/libpgport.a
26+
test_json_parser_incremental$(X): test_json_parser_incremental.o
27+
$(CC)$(CFLAGS)$^$(PG_LIBS_INTERNAL)$(LDFLAGS)$(LDFLAGS_EX)$(PG_LIBS)$(LIBS) -o$@
2728

28-
test_json_parser_incremental$(X): test_json_parser_incremental.o$(PARSER_LIBS)
29-
$(CC)$(CFLAGS)$^ -o$@
30-
31-
test_json_parser_perf$(X): test_json_parser_perf.o$(PARSER_LIBS)
32-
$(CC)$(CFLAGS)$^ -o$@
29+
test_json_parser_perf$(X): test_json_parser_perf.o
30+
$(CC)$(CFLAGS)$^$(PG_LIBS_INTERNAL)$(LDFLAGS)$(LDFLAGS_EX)$(PG_LIBS)$(LIBS) -o$@
3331

3432
speed-check: test_json_parser_perf$(X)
3533
@echo Standard parser:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp