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

Commitef28e05

Browse files
committed
Fix bogus handling of $(X) (i.e., ".exe") in isolationtester Makefile.
I'm not sure why commit1eb1dde seemsto have made this start to fail on Cygwin when it never did before ---but nonetheless, the coding was pretty bogus, and unlike the way wehandle $(X) anywhere else. Per buildfarm.
1 parent19e3647 commitef28e05

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

‎src/test/isolation/Makefile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ override CPPFLAGS := -I$(srcdir) -I$(libpq_srcdir) -I$(srcdir)/../regress $(CPPF
1313

1414
OBJS = specparse.o isolationtester.o
1515

16+
all: isolationtester$(X) pg_isolation_regress$(X)
17+
1618
submake-regress:
1719
$(MAKE) -C$(top_builddir)/src/test/regress pg_regress.o
1820

1921
pg_regress.o: | submake-regress
2022
rm -f$@&&$(LN_S)$(top_builddir)/src/test/regress/pg_regress.o.
2123

22-
pg_isolation_regress: isolation_main.o pg_regress.o
23-
$(CC)$(CFLAGS)$^$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@$(X)
24-
25-
all: isolationtester pg_isolation_regress
24+
pg_isolation_regress$(X): isolation_main.o pg_regress.o
25+
$(CC)$(CFLAGS)$^$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@
2626

27-
isolationtester:$(OBJS) | submake-libpq submake-libpgport
28-
$(CC)$(CFLAGS)$^$(libpq_pgport)$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@$(X)
27+
isolationtester$(X):$(OBJS) | submake-libpq submake-libpgport
28+
$(CC)$(CFLAGS)$^$(libpq_pgport)$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@
2929

3030
distprep: specparse.c specscanner.c
3131

@@ -36,8 +36,6 @@ distprep: specparse.c specscanner.c
3636
# important, otherwise make will choose the built-in rule for
3737
# gram.y=>gram.c.
3838

39-
all: isolationtester$(X) pg_isolation_regress$(X)
40-
4139
specparse.h: specparse.c ;
4240

4341
# specscanner is compiled as part of specparse

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp