mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
Revert r354896, r354899, r354900:
Fix build. Sponsored by: Rubicon Communications, LLC (netgate.com)
This commit is contained in:
parent
21ad8c5eb0
commit
fb1c294d47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354935
@ -15,13 +15,6 @@ 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
|
||||
.if ${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv"
|
||||
CFLAGS+=-Wl,--no-relax
|
||||
.endif
|
||||
|
||||
.if ${MK_INET6_SUPPORT} != "no"
|
||||
CFLAGS+= -DINET6
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user