Module Name: src Committed By: christos Date: Tue May 26 18:52:29 UTC 2020
Modified Files: src/tests/rump/modautoload: Makefile Log Message: Fix alpha build (relocation truncated to fit: GPREL16 against symbol ...) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47230 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/tests/rump/modautoload/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/rump/modautoload/Makefile diff -u src/tests/rump/modautoload/Makefile:1.11 src/tests/rump/modautoload/Makefile:1.12 --- src/tests/rump/modautoload/Makefile:1.11 Sat May 16 08:54:27 2020 +++ src/tests/rump/modautoload/Makefile Tue May 26 14:52:29 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2020/05/16 12:54:27 christos Exp $ +# $NetBSD: Makefile,v 1.12 2020/05/26 18:52:29 christos Exp $ # .include <bsd.init.mk> @@ -14,6 +14,9 @@ SRCS.t_modautoload+= t_modautoload.c # on amd64. This is the reason we keep this test in its own # subdirectory -- otherwise the LDADD lines would get a little hairy. LDFLAGS+= -Wl,-E +.if ${MACHINE} == "alpha" +LDFLAGS+= -Wl,--no-relax +.endif LDADD+= \ -Wl,--whole-archive -Wl,-Bstatic \ -lrumpvfs_nofifofs -lrumpvfs -lrump \