Revert r354896, r354899, r354900:

Fix build.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
This commit is contained in:
Glen Barber 2019-11-21 04:12:08 +00:00
parent 21ad8c5eb0
commit fb1c294d47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354935

View File

@ -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