Re: [Patch, Ada, Darwin] Remove explicit "-lm" from shared library builds.

2011-09-06 Thread Arnaud Charlet
> (no Ada regressions from this on *-darwin9 and x86-64-darwin10.) > > OK for trunk? > Iain > > ada: > > * gcc-interface/Makefile.in (gnatlib-shared-darwin): Remove > reference to "-lm". OK, thanks.

[Patch, Ada, Darwin] Remove explicit "-lm" from shared library builds.

2011-09-06 Thread Iain Sandoe
"-lm" is a symlink to libSystem.dylib on all recent Darwin and therefore not required (as libSystem is automatically provided by gcc). Using -lm (especially when in conjunction with "-flat_namespace") can cause unexpected differences in behavior between Darwin 9 -> Darwin10 (where the unw