diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2002-04-10 12:30:23 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2002-04-10 12:30:23 +0000 |
commit | 00a89aba554903e7650db77cdeac4b191ac6b906 (patch) | |
tree | fd75ddbe9da8af25d9fca7d67ac822c478024ac1 /x11 | |
parent | cf4557c286959e8ada2f5375befef59dadfe0dc8 (diff) | |
download | pkgsrc-00a89aba554903e7650db77cdeac4b191ac6b906.tar.gz |
turn off optimization on alpha to workaround a c++ compiler bug.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdelibs2/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/x11/kdelibs2/Makefile b/x11/kdelibs2/Makefile index 21a232e987b..a3e01aea492 100644 --- a/x11/kdelibs2/Makefile +++ b/x11/kdelibs2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2002/03/28 08:57:39 skrll Exp $ +# $NetBSD: Makefile,v 1.36 2002/04/10 12:30:23 dmcmahill Exp $ DISTNAME= kdelibs-2.2.2 PKGREVISION= 1 @@ -116,15 +116,18 @@ post-install: .include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" -# XXX On NetBSD, the egcs for: +# XXX On NetBSD, the egcs and gcc-2.95.3 for: # XXX # XXX alpha # XXX # XXX has an optimization bug when compiling with -O2 that is tickled by # XXX ${WRKSRC}/kdeprint/management/kmiconview.cpp. -# +# XXX ${WRKSRC}/kdecore/kwinmodule.cpp .if ${OPSYS} == "NetBSD" . if (${MACHINE_ARCH} == "alpha") -CFLAGS+= -O +CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*//g} +CFLAGS:= ${CFLAGS:C/-O[0-9]*//g} +CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" +CONFIGURE_ENV+= CFLAGS="${CFLAGS}" . endif .endif |