summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorcjep <cjep>2002-06-03 09:53:56 +0000
committercjep <cjep>2002-06-03 09:53:56 +0000
commit9d03059f10d13c92681f2c8b1f0a42d5db6cc033 (patch)
tree143b95eec48d76fd38fa0ba763db0a9b7bb34716 /net
parent11530236a18a8a369960a9cbf6e3d3521ffd771c (diff)
downloadpkgsrc-9d03059f10d13c92681f2c8b1f0a42d5db6cc033.tar.gz
Turn off optimization on NetBSD arm platforms.
Diffstat (limited to 'net')
-rw-r--r--net/ucspi-tcp/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile
index 2963d097bdf..7b8dbf34a96 100644
--- a/net/ucspi-tcp/Makefile
+++ b/net/ucspi-tcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/04/18 16:19:17 yyamano Exp $
+# $NetBSD: Makefile,v 1.11 2002/06/03 09:53:56 cjep Exp $
# FreeBSD Id: ports/sysutils/ucspi-tcp/Makefile,v 1.12 2000/07/10 01:41:24 steve Exp
DISTNAME= ucspi-tcp-0.88
@@ -20,9 +20,11 @@ NO_BIN_ON_FTP= ${RESTRICTED}
ALL_TARGET= it
INSTALL_TARGET= setup check
-.if (${MACHINE_ARCH} == "arm32" && ${CFLAGS:M-O2} == "-O2")
+.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm")
+.if (${CFLAGS:M-O2} == "-O2")
CFLAGS:= ${CFLAGS:S/-O2/-O0/}
.endif
+.endif
post-configure:
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home