diff options
| author | Mitchell Horne <mhorne@FreeBSD.org> | 2026-02-05 16:41:31 +0000 |
|---|---|---|
| committer | Mitchell Horne <mhorne@FreeBSD.org> | 2026-02-05 16:52:22 +0000 |
| commit | 39148cbead211163f7e5a203d7c88ece5c3e30e0 (patch) | |
| tree | 1c9391020b07d076db8d59185e903c86452fa764 | |
| parent | 1364e7d0921bfd79738dae80748d836730e39056 (diff) | |
usr.sbin/jail/Makefile: remove riscv linker workaround
It links fine with newer binutils 2.44 (and GCC 15), so the workaround
can be dropped.
Reviewed by: emaste
PR: 242109
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55083
| -rw-r--r-- | usr.sbin/jail/Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.sbin/jail/Makefile b/usr.sbin/jail/Makefile index babe7b9459c0..37400368da76 100644 --- a/usr.sbin/jail/Makefile +++ b/usr.sbin/jail/Makefile @@ -14,13 +14,6 @@ CWARNFLAGS.jailparse.c= ${NO_WUNUSED_BUT_SET_VARIABLE} YFLAGS+=-v CFLAGS+=-I. -I${.CURDIR} -# workaround for GNU ld (GNU Binutils) 2.33.1: -# relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR2' -# https://bugs.freebsd.org/242109 -.if defined(LINKER_TYPE) && ${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv" -CFLAGS+=-Wl,--no-relax -.endif - .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 .endif |
