diff options
author | ahze <ahze@FreeBSD.org> | 2006-09-17 08:05:13 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-09-17 08:05:13 +0800 |
commit | 442dd473b988c7cd39dcd064896bf3fcdaf0a656 (patch) | |
tree | 032df4bf83f29af969cd4a1429813a6079d3532c /net | |
parent | 07c2c1f8f614686055e433cdfbc6e83f932775f2 (diff) | |
download | freebsd-ports-graphics-442dd473b988c7cd39dcd064896bf3fcdaf0a656.tar.gz freebsd-ports-graphics-442dd473b988c7cd39dcd064896bf3fcdaf0a656.tar.zst freebsd-ports-graphics-442dd473b988c7cd39dcd064896bf3fcdaf0a656.zip |
- Force -O2 on sparc64 to fix build for people with non-default CFLAGS
Reported by: kris mail
Diffstat (limited to 'net')
-rw-r--r-- | net/tund/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/tund/Makefile b/net/tund/Makefile index 327aa950f03..9c362e9e6b8 100644 --- a/net/tund/Makefile +++ b/net/tund/Makefile @@ -20,6 +20,10 @@ MANCOMPRESSED= yes .include <bsd.port.pre.mk> +.if ${ARCH}=="sparc64" +CFLAGS+= -O2 +.endif + .if ${ARCH} == "ia64" BROKEN= "Does not build on ${ARCH}" .endif |