[geos-devel] Building Geos 64-bit using Oracle Developer Studio 12.5 on Solaris11

Sandro Santilli strk at kbt.io
Fri Jul 8 09:32:21 PDT 2016

On Fri, Jul 08, 2016 at 12:52:56PM +0100, Andrew Watkins wrote:

> The reason is "-ansi" is not a flag with CC, but I am not sure how
> to clearly remove it. I did a dirty version by removing it from
> configure!

See configure.ac, search "ansi", you'll find this:

AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -ansi], [dummy_cv_ansi], [-ansi], [], [WARNFLAGS="$WARNFLAGS -ansi"], [])

So it looks AC_LIBTOOL_COMPILER_OPTION thinks -ansi is supported,
while you're saying it is not, correct ? Could be worth reporting
this upstream, to the libtool developers.


More information about the geos-devel mailing list