Workaround riscv64 build when using binutils 2.33.1
PR: 242109 Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22457
This commit is contained in:
parent
83704cc236
commit
53c772bbd7
@ -15,6 +15,11 @@ NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||
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
|
||||
CFLAGS+=-Wl,--no-relax
|
||||
|
||||
.if ${MK_INET6_SUPPORT} != "no"
|
||||
CFLAGS+= -DINET6
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user