mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
No need to use our standard libs for the thread test --- they might not
be compiled yet.
This commit is contained in:
parent
1812d3b233
commit
ae5bc8a601
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003 by PostgreSQL Global Development Team
|
# 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)
|
override CFLAGS += $(PTHREAD_CFLAGS)
|
||||||
|
|
||||||
LDFLAGS += $(PTHREAD_LIBS)
|
|
||||||
|
|
||||||
all: thread_test
|
all: thread_test
|
||||||
|
|
||||||
thread_test: thread_test.o
|
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:
|
clean distclean maintainer-clean:
|
||||||
rm -f thread_test$(X) thread_test.o
|
rm -f thread_test$(X) thread_test.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user