diff options
author | abs <abs> | 2001-10-03 16:40:06 +0000 |
---|---|---|
committer | abs <abs> | 2001-10-03 16:40:06 +0000 |
commit | c1cb14c1ca999e1ce52bc69bfcd2d9640d38ef61 (patch) | |
tree | 4825cd8e84a286c1c199ef8a1b008649af3524ed /net/ucspi-tcp | |
parent | 81c427e64ef8910a2e1b12977a4be7f324de5107 (diff) | |
download | pkgsrc-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/ucspi-tcp')
-rw-r--r-- | net/ucspi-tcp/Makefile | 6 |
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 |