Date: Wed, 20 Nov 2019 16:35:58 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354899 - head/usr.sbin/jail Message-ID: <201911201635.xAKGZwT4082365@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu Date: Wed Nov 20 16:35:58 2019 New Revision: 354899 URL: https://svnweb.freebsd.org/changeset/base/354899 Log: Limit the workaround to riscv only PR: 242109 Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/jail/Makefile Modified: head/usr.sbin/jail/Makefile ============================================================================== --- head/usr.sbin/jail/Makefile Wed Nov 20 16:32:13 2019 (r354898) +++ head/usr.sbin/jail/Makefile Wed Nov 20 16:35:58 2019 (r354899) @@ -18,7 +18,9 @@ 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 ${MACHINE_ARCH} == "riscv" CFLAGS+=-Wl,--no-relax +.endif .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911201635.xAKGZwT4082365>