opnsense-ports/graphics/mesa-dri/files/patch-src_intel_Makefile.in
Franco Fichtner fa1747ca59 */*: sync with upstream
Taken from: HardenedBSD
2017-12-26 10:34:14 +01:00

18 lines
702 B
Text

../../src/util/.libs/libmesautil.a(libmesautil_la-half_float.o): In function `_mesa_float_to_half':
half_float.c:(.text+0x94): undefined reference to `lrintf'
half_float.c:(.text+0xbf): undefined reference to `lrintf'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [Makefile:2706: tools/aubinator_error_decode] Error 1
--- src/intel/Makefile.in.orig 2017-12-24 10:29:12 UTC
+++ src/intel/Makefile.in
@@ -1977,7 +1977,8 @@ tools_aubinator_error_decode_LDADD = \
compiler/libintel_compiler.la \
$(top_builddir)/src/util/libmesautil.la \
$(PTHREAD_LIBS) \
- $(ZLIB_LIBS)
+ $(ZLIB_LIBS) \
+ -lm
tools_aubinator_error_decode_CFLAGS = \
$(AM_CFLAGS) \