summaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authormrauch <mrauch>2002-02-12 10:52:31 +0000
committermrauch <mrauch>2002-02-12 10:52:31 +0000
commit38d4efd1285d8be4c7c04ef5df0382a7b9b49955 (patch)
treec0425b53795952a6df6204822afbc407d118c510 /devel/pth
parente2ba21720dc049aff8f38ee3e88c0ca350513625 (diff)
downloadpkgsrc-38d4efd1285d8be4c7c04ef5df0382a7b9b49955.tar.gz
Disable optimization for i386 because it can cause segfaults with a
completely thrashed stack.
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index bdfce9d5cc3..df9bdb826f1 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2001/09/27 23:17:57 jlam Exp $
+# $NetBSD: Makefile,v 1.37 2002/02/12 10:52:31 mrauch Exp $
#
DISTNAME= pth-1.4.0
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=pth/}
@@ -16,6 +17,9 @@ USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-pthread
+.if (${MACHINE_ARCH} == "i386" && ${CFLAGS} == "-O2")
+CFLAGS= -O0
+.endif
# for PLIST
PTH_MAJOR= 14