diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2002-11-16 18:45:32 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2002-11-16 18:45:32 +0000 |
commit | ef27f4ef62081d605f6f957a0c94732e16094f23 (patch) | |
tree | 2183732925c57f1db9da3d693b740b0efeeb6408 /x11/kdelibs3 | |
parent | 6211add8a015e5387b388713b62d9f788cb4495d (diff) | |
download | pkgsrc-ef27f4ef62081d605f6f957a0c94732e16094f23.tar.gz |
turn down the optimizaiton level on sparc as well as alpha to let this
get past -O2 bugs.
Diffstat (limited to 'x11/kdelibs3')
-rw-r--r-- | x11/kdelibs3/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile index 87b08407093..c402c58ec9e 100644 --- a/x11/kdelibs3/Makefile +++ b/x11/kdelibs3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2002/10/14 09:13:55 skrll Exp $ +# $NetBSD: Makefile,v 1.14 2002/11/16 18:45:32 dmcmahill Exp $ DISTNAME= kdelibs-3.0.4 CATEGORIES= x11 @@ -99,15 +99,20 @@ post-install: .include "../../mk/bsd.pkg.mk" -# XXX On NetBSD, the gcc for: +# XXX On NetBSD, the egcs and gcc-2.95.3 for: # XXX -# XXX alpha +# XXX alpha and sparc # XXX # XXX has an optimization bug when compiling with -O2 that is tickled by +# XXX ${WRKSRC}/kio/kio/global.cpp # XXX ${WRKSRC}/kdeprint/management/kmiconview.cpp. +# XXX and others # .if ${OPSYS} == "NetBSD" -. if (${MACHINE_ARCH} == "alpha") -CFLAGS+= -O +. if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc") +CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*/-O/g} +CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g} +CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" +CONFIGURE_ENV+= CFLAGS="${CFLAGS}" . endif .endif |