Disable optimization for i386 because it can cause segfaults with a
completely thrashed stack.
This commit is contained in:
parent
a3c1ce40dd
commit
02ad396188
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue