pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

frr: fix build for i386



Module Name:	pkgsrc-wip
Committed By:	Frank Kardel <kardel%NetBSD.org@localhost>
Pushed By:	kardel
Date:		Tue Nov 24 16:24:26 2020 +0100
Changeset:	a7a56a62d0a7089e73b9915636bf5d46552e489b

Modified Files:
	frr/Makefile

Log Message:
frr: fix build for i386

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a7a56a62d0a7089e73b9915636bf5d46552e489b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 frr/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/frr/Makefile b/frr/Makefile
index 8b815fbdf4..9c57423299 100644
--- a/frr/Makefile
+++ b/frr/Makefile
@@ -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
 


Home | Main Index | Thread Index | Old Index