[Mesa-dev] [PATCH v2] autotools: library-dependency when no sse and 32-bit

Dylan Baker dylan at pnwbakers.com
Tue Oct 30 15:29:08 UTC 2018


Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Sergii Romantsov (2018-10-30 02:45:14)
> Building of 32bit Mesa may fail if __SSE__ is not specified.
> Added missed dependency from libm.
> 
> CC: Dylan Baker <dylan at pnwbakers.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108560
> Signed-off-by: Sergii Romantsov <sergii.romantsov at globallogic.com>
> ---
>  src/util/Makefile.am | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/util/Makefile.am b/src/util/Makefile.am
> index d79f2b3..85c7553 100644
> --- a/src/util/Makefile.am
> +++ b/src/util/Makefile.am
> @@ -60,7 +60,8 @@ libmesautil_la_LIBADD = \
>         $(PTHREAD_LIBS) \
>         $(CLOCK_LIB) \
>         $(ZLIB_LIBS) \
> -       $(LIBATOMIC_LIBS)
> +       $(LIBATOMIC_LIBS) \
> +       -lm
>  
>  libxmlconfig_la_SOURCES = $(XMLCONFIG_FILES)
>  libxmlconfig_la_CFLAGS = \
> -- 
> 2.7.4
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181030/778c0480/attachment.sig>


More information about the mesa-dev mailing list