From db5cc310d82b71125ff5dea83e90059c40cb0605 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sun, 17 Sep 2006 00:05:13 +0000 Subject: [PATCH] - Force -O2 on sparc64 to fix build for people with non-default CFLAGS Reported by: kris mail --- net/tund/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/tund/Makefile b/net/tund/Makefile index 327aa950f034..9c362e9e6b85 100644 --- a/net/tund/Makefile +++ b/net/tund/Makefile @@ -20,6 +20,10 @@ MANCOMPRESSED= yes .include +.if ${ARCH}=="sparc64" +CFLAGS+= -O2 +.endif + .if ${ARCH} == "ia64" BROKEN= "Does not build on ${ARCH}" .endif