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

Commitae5bc8a

Browse files
committed
No need to use our standard libs for the thread test --- they might not
be compiled yet.
1 parent1812d3b commitae5bc8a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎src/tools/thread/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (C) 2003 by PostgreSQL Global Development Team
66
#
7-
# $PostgreSQL: pgsql/src/tools/thread/Makefile,v 1.5 2004/04/23 20:35:50 momjian Exp $
7+
# $PostgreSQL: pgsql/src/tools/thread/Makefile,v 1.6 2004/04/25 20:47:56 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -14,12 +14,11 @@ include $(top_builddir)/src/Makefile.global
1414

1515
overrideCFLAGS +=$(PTHREAD_CFLAGS)
1616

17-
LDFLAGS +=$(PTHREAD_LIBS)
18-
1917
all: thread_test
2018

2119
thread_test: thread_test.o
22-
$(CC)$(CFLAGS)$(LDFLAGS)$^$(LIBS) -o$@
20+
# no need for $LIBS, might not be compiled yet
21+
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(PTHREAD_LIBS) -o $@
2322

2423
cleandistcleanmaintainer-clean:
2524
rm -f thread_test$(X) thread_test.o

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp