Revert r354896, r354899, r354900:

Fix build.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
This commit is contained in:
gjb 2019-11-21 04:12:08 +00:00
parent f41fb35a5d
commit 87663ca046

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