Skip to content

Commit

Permalink
frr: fix build for i386
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Kardel authored and Frank Kardel committed Nov 24, 2020
1 parent 2317da0 commit a7a56a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a7a56a6

Please sign in to comment.