summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-10-03 16:40:06 +0000
committerabs <abs@pkgsrc.org>2001-10-03 16:40:06 +0000
commitba87bbb0c9510f1a0cfe704cedaf84a21befb825 (patch)
tree4825cd8e84a286c1c199ef8a1b008649af3524ed /net
parent711daa091f709073c40c331a4049cdde5d57deca (diff)
downloadpkgsrc-ba87bbb0c9510f1a0cfe704cedaf84a21befb825.tar.gz
gcc on arm32 goes into infinite loops with -O1 or -O2 on various
.c files, and this package's build system is too baroque to patch sanely. Disable optimisation on arm32.
Diffstat (limited to 'net')
-rw-r--r--net/ucspi-tcp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile
index e10220193d7..abc74d05666 100644
--- a/net/ucspi-tcp/Makefile
+++ b/net/ucspi-tcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/03/26 17:56:10 zuntum Exp $
+# $NetBSD: Makefile,v 1.7 2001/10/03 16:40:06 abs 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,6 +20,10 @@ NO_BIN_ON_FTP= ${RESTRICTED}
ALL_TARGET= it
INSTALL_TARGET= setup check
+.if (${MACHINE_ARCH} == "arm32" && ${CFLAGS} == "-O2")
+CFLAGS= -O0
+.endif
+
post-configure:
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc