fixing up the pthread stuff for hashtest2
authorSteve Murphy <murf@digium.com>
Tue, 11 Sep 2007 17:16:16 +0000 (17:16 +0000)
committerSteve Murphy <murf@digium.com>
Tue, 11 Sep 2007 17:16:16 +0000 (17:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82256 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/Makefile

index 11a2d5b..00144b0 100644 (file)
@@ -129,10 +129,10 @@ utils.o : utils.c
 astobj2.o : astobj2.c
 
 hashtest2.o : hashtest2.c
-       $(CC) -g -O0 -c hashtest2.c -I/usr/include -I../include
+       $(CC) -g -O0 -c hashtest2.c $(PTHREAD_CFLAGS) -I/usr/include -I../include
 
 hashtest2 : hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o
-       $(CC) -g -O0 -o hashtest2 hashtest2.o astobj2.o utils.o md5.o sha1.o strcompat.o -lpthread
+       $(CC) -g -O0 -o hashtest2 hashtest2.o astobj2.o utils.o md5.o sha1.o strcompat.o $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
 
 extconf.o : extconf.c