summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-06-03 09:53:56 +0000
committercjep <cjep@pkgsrc.org>2002-06-03 09:53:56 +0000
commit133cac178723fb7ae1c61e0fdaae6d2d764941f1 (patch)
tree143b95eec48d76fd38fa0ba763db0a9b7bb34716 /net
parent1fed83442a668f4e8dc1c2f8390025bb3a4acfac (diff)
downloadpkgsrc-133cac178723fb7ae1c61e0fdaae6d2d764941f1.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