--- gcc/ada/gcc-interface/Makefile.in.orig 2009-05-19 07:11:52.000000000 -0400 +++ gcc/ada/gcc-interface/Makefile.in 2009-06-18 08:40:38.000000000 -0400 @@ -1083,7 +1083,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)