Limit the workaround to riscv only
PR: 242109 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
48c22f0eb2
commit
f10ddee841
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354899
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user