aboutsummaryrefslogtreecommitdiff
path: root/src/tools/thread
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-04-25 20:47:56 +0000
committerBruce Momjian <bruce@momjian.us>2004-04-25 20:47:56 +0000
commitae5bc8a60129e7b26654304f44bd5110c7153ae3 (patch)
tree7a122dba602f87991993964341a3381a41cb4faf /src/tools/thread
parent1812d3b233e40d6e94e2105c3da4b1fca93c9385 (diff)
downloadpostgresql-ae5bc8a60129e7b26654304f44bd5110c7153ae3.tar.gz
postgresql-ae5bc8a60129e7b26654304f44bd5110c7153ae3.zip
No need to use our standard libs for the thread test --- they might not
be compiled yet.
Diffstat (limited to 'src/tools/thread')
-rw-r--r--src/tools/thread/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tools/thread/Makefile b/src/tools/thread/Makefile
index 22d5d09f684..942e289e78a 100644
--- a/src/tools/thread/Makefile
+++ b/src/tools/thread/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (C) 2003 by PostgreSQL Global Development Team
#
-# $PostgreSQL: pgsql/src/tools/thread/Makefile,v 1.5 2004/04/23 20:35:50 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/thread/Makefile,v 1.6 2004/04/25 20:47:56 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -14,12 +14,11 @@ include $(top_builddir)/src/Makefile.global
override CFLAGS += $(PTHREAD_CFLAGS)
-LDFLAGS += $(PTHREAD_LIBS)
-
all: thread_test
thread_test: thread_test.o
- $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
+# no need for $LIBS, might not be compiled yet
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(PTHREAD_LIBS) -o $@
clean distclean maintainer-clean:
rm -f thread_test$(X) thread_test.o