Module Name: src Committed By: riastradh Date: Wed Nov 13 03:38:58 UTC 2024
Modified Files: src/external/mit/libuv/lib: Makefile Log Message: libuv: Build without pic on sun2. Not necessary because we never build shared libraries anyway. Works around errors like: /home/riastradh/netbsd/current/src/../obj.sun2/external/mit/libuv/lib/libuv.a(version.o): in function `uv_version_string': version.c:(.text+0xc): relocation truncated to fit: R_68K_GOT16 against symbol `_GLOBAL_OFFSET_TABLE_' defined in .got.plt section in /home/riastradh/netbsd/current/src/../obj.sun2/external/mit/libuv/lib/libuv.a(version.o) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/mit/libuv/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/mit/libuv/lib/Makefile diff -u src/external/mit/libuv/lib/Makefile:1.10 src/external/mit/libuv/lib/Makefile:1.11 --- src/external/mit/libuv/lib/Makefile:1.10 Tue Apr 9 22:38:17 2024 +++ src/external/mit/libuv/lib/Makefile Wed Nov 13 03:38:58 2024 @@ -1,6 +1,10 @@ -# $NetBSD: Makefile,v 1.10 2024/04/09 22:38:17 christos Exp $ +# $NetBSD: Makefile,v 1.11 2024/11/13 03:38:58 riastradh Exp $ +.if ${MACHINE} == "sun2" +LIBISPRIVATE=yes +.else LIBISPRIVATE=pic +.endif .include <bsd.own.mk>