summaryrefslogtreecommitdiff
path: root/devel/pth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pth/Makefile')
-rw-r--r--devel/pth/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 91bb4c581d5..66a5926e3c0 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2002/08/01 13:36:08 skrll Exp $
+# $NetBSD: Makefile,v 1.47 2002/08/25 18:38:43 jlam Exp $
#
DISTNAME= pth-1.4.1
@@ -12,7 +12,7 @@ COMMENT= GNU Portable Thread library
CONFLICTS= pth-current-[0-9]* pth-syscall<1.4.1nb1
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
@@ -37,3 +37,7 @@ post-install:
${PREFIX}/share/doc/pth/
.include "../../mk/bsd.pkg.mk"
+
+.if (${MACHINE_ARCH} == "i386" && ${CFLAGS:M-O2} == "-O2")
+CFLAGS:= ${CFLAGS:S/-O2/-O0/}
+.endif