frr: fix build for i386

This commit is contained in:
Frank Kardel 2020-11-24 16:24:26 +01:00
parent 2317da0631
commit a7a56a62d0
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ BUILD_DEFS= VARBASE
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
# to pick up the atomic implementation on i386
.if ${MACHINE_ARCH} == "i386"
CPPFLAGS+= -march=i586
.endif
FRR_GROUP?= _frr
FRR_VTY_GROUP?= frrvty