File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (C) 2003 by PostgreSQL Global Development Team
6
6
#
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 $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -14,12 +14,11 @@ include $(top_builddir)/src/Makefile.global
14
14
15
15
override CFLAGS += $(PTHREAD_CFLAGS )
16
16
17
- LDFLAGS += $(PTHREAD_LIBS )
18
-
19
17
all : thread_test
20
18
21
19
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 $@
23
22
24
23
clean distclean maintainer-clean :
25
24
rm -f thread_test$(X ) thread_test.o
You can’t perform that action at this time.
0 commit comments