[m-rev.] for review: Update configuration for FreeBSD.

Julien Fischer jfischer at opturion.com
Thu Oct 15 14:38:52 AEDT 2015


Hi Peter,

On Thu, 15 Oct 2015, Peter Wang wrote:

> These changes were tested on FreeBSD 10.1 i386/amd64.
>
> configure.ac:
> 	Relax case pattern so it will match FreeBSD on architectures
> 	other than i*86, in particular amd64.
>
> 	Delete custom commands for LINK_SHARED_OBJ and LINK_SHARED_OBJ_SH.
> 	The default "$CC -shared" works fine.
>
> 	Use the default method of setting the rpath (-Wl,-rpath,)
> 	as we now invoke the linker through the C compiler.
> 	clang does not support the -R flag anyway.

The clang problem presuambly exists on other systems such as Linux
as well?

>
> 	Let EXT_FOR_LINK_WITH_PIC_OBJECTS=o (same as everywhere else).
>
> 	Let DEFAULT_LINKAGE=shared (it works fine).

That looks fine.

Julien.



More information about the reviews mailing list