[Libosinfo] [PATCH] build: Fix "--no-undefined" linker's flag for solaris
Fabiano Fidêncio
fabiano at fidencio.org
Wed May 11 13:29:29 UTC 2016
The patch was sent to the ML just for the record.
I'm ACKing and pushing it.
On Wed, May 11, 2016 at 3:27 PM, Fabiano Fidêncio <fidencio at redhat.com> wrote:
> From: Andrew Stormont <andyjstormont at gmail.com>
>
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1302339
> Acked-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
> configure.ac | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index f7ecb8f..e4850c7 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -101,6 +101,10 @@ case "$host" in
> NO_UNDEFINED_LDFLAGS="-Wl,-undefined,error"
> ;;
>
> + *-*-solaris*)
> + NO_UNDEFINED_LDFLAGS="-zdefs"
> + ;;
> +
> *)
> NO_UNDEFINED_FLAGS="-Wl,--no-undefined"
> VERSION_SCRIPT_FLAGS=-Wl,--version-script=
> --
> 2.7.4
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
--
Fabiano Fidêncio
More information about the Libosinfo
mailing list