This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Avoid -lm and -lpthread in libjava on darwin


On 08/12/2010 12:19 PM, Jack Howarth wrote:

> 2010-08-12  Jack Howarth <howarth@bromo.med.uc.edu>
> 
> 	* libjava/configure.ac (THREADLIBS): Don't set on Darwin.
> 	(THREADSPEC): Likwise.
> 	* libjava/configure: Regenerate.
> 	* libjava/Makefile.am: Define LIBJAVA_LDFLAGS_LIBMATH as
> 	-lm only if USING_DARWIN_CRT undefined.
> 	(libgcj_tools_la_LIBADD): Replace '-lm' with $(LIBJAVA_LDFLAGS_LIBMATH).
> 	* libjava/Makefile.in: Regenerate.

OK.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]