summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorabs <abs>2001-10-03 16:40:06 +0000
committerabs <abs>2001-10-03 16:40:06 +0000
commitc1cb14c1ca999e1ce52bc69bfcd2d9640d38ef61 (patch)
tree4825cd8e84a286c1c199ef8a1b008649af3524ed /net
parent81c427e64ef8910a2e1b12977a4be7f324de5107 (diff)
downloadpkgsrc-c1cb14c1ca999e1ce52bc69bfcd2d9640d38ef61.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