Re: [PATCH] libgcobol: Check if the target needs libm.

2025-04-03 Thread Richard Biener
On Thu, Apr 3, 2025 at 9:19 PM Iain Sandoe wrote: > > We should not assume that the target needs (or even has) libm. > > Tested on the usual suspects (x86_64, aarch64 linux, x86_64 darwin). > OK for trunk? OK. > thanks > Iain. > > --- 8< --- > > Use the libtool config check and $(LIBM). > > libg

[PATCH] libgcobol: Check if the target needs libm.

2025-04-03 Thread Iain Sandoe
We should not assume that the target needs (or even has) libm. Tested on the usual suspects (x86_64, aarch64 linux, x86_64 darwin). OK for trunk? thanks Iain. --- 8< --- Use the libtool config check and $(LIBM). libgcobol/ChangeLog: * Makefile.am: Use $(LIBM) to add the math lib when