This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Avoid -lm and -lpthread in libjava on darwin
- From: Andrew Haley <aph at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Aug 2010 13:05:57 +0100
- Subject: Re: [PATCH] Avoid -lm and -lpthread in libjava on darwin
- References: <20100812111936.GA23630@bromo.med.uc.edu>
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.