[asterisk-commits] murf: trunk r82256 - /trunk/utils/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 11 12:16:17 CDT 2007


Author: murf
Date: Tue Sep 11 12:16:16 2007
New Revision: 82256

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82256
Log:
fixing up the pthread stuff for hashtest2

Modified:
    trunk/utils/Makefile

Modified: trunk/utils/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/utils/Makefile?view=diff&rev=82256&r1=82255&r2=82256
==============================================================================
--- trunk/utils/Makefile (original)
+++ trunk/utils/Makefile Tue Sep 11 12:16:16 2007
@@ -129,10 +129,10 @@
 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
 




More information about the asterisk-commits mailing list