[Mesa-dev] [PATCH:mesa] Use -z defs instead of --no-undefined on Solaris
Ian Romanick
idr at freedesktop.org
Tue Jun 3 14:11:04 PDT 2014
On 06/02/2014 06:07 PM, Alan Coopersmith wrote:
> While recent versions of the Solaris linker support --no-undefined,
> older ones do not, and even current ones get confused if the Makefile
> passes one form and libtool sneaks in the other.
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Maybe Vinson can give a Tested-by too.
Acked-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> configure.ac | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 9c64400..29bfbc4 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -354,6 +354,8 @@ dnl
> case "$host_os" in
> openbsd* | darwin* )
> LD_NO_UNDEFINED="" ;;
> +solaris*)
> + LD_NO_UNDEFINED="-Wl,-z,defs" ;;
> *)
> LD_NO_UNDEFINED="-Wl,--no-undefined" ;;
> esac
>
More information about the mesa-dev
mailing list