--- gcc/ada/Makefile.in.orig Wed May 9 06:22:48 2007 +++ gcc/ada/Makefile.in Wed May 9 06:31:51 2007 @@ -855,7 +855,7 @@ GNATLIB_SHARED = gnatlib-shared-dual EH_MECHANISM=-gcc - THREADSLIB= -lpthread + THREADSLIB= ${PTHREAD_LIBS} GMEM_LIB = gmemlib PREFIX_OBJS = $(PREFIX_REAL_OBJS) LIBRARY_VERSION := $(LIB_VERSION)