git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1812d3b)
No need to use our standard libs for the thread test --- they might not
2004年4月25日 20:47:56 +0000 (20:47 +0000)
2004年4月25日 20:47:56 +0000 (20:47 +0000)
be compiled yet.


diff --git a/src/tools/thread/Makefile b/src/tools/thread/Makefile
index 22d5d09f68487b0757752485a6274f8d805bf8fb..942e289e78ad6cec71b42dd0692362db78357573 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /