Skip to content

Commit ae5bc8a

Browse files
committed
No need to use our standard libs for the thread test --- they might not
be compiled yet.
1 parent 1812d3b commit ae5bc8a

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
override CFLAGS += $(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
clean distclean maintainer-clean:
2524
rm -f thread_test$(X) thread_test.o

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy