From 9b6e8b4a6a174992b21bf080b24b420b8f7568b1 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Sun, 15 Jun 2003 07:21:49 +0000 Subject: [PATCH] dirty hack to enable KDE to build on sparc64 (David's been using this to build snaps for a while, so it might as well go in) XXX this should be properly fixed by either adding propolice to our gcc3 port, or adding an empty -fno-stack-protector flag, or fixing the PP bugs and getting this flag removed altogether from here, or....) --- x11/kde/Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x11/kde/Makefile.inc b/x11/kde/Makefile.inc index 6bb56448ebf..bc56d357113 100644 --- a/x11/kde/Makefile.inc +++ b/x11/kde/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.23 2003/06/12 19:16:15 espie Exp $ +# $OpenBSD: Makefile.inc,v 1.24 2003/06/15 07:21:49 pvalchev Exp $ DIST_SUBDIR?= kde HOMEPAGE?= http://www.kde.org MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/${VERSION}/src/@} @@ -29,5 +29,7 @@ PERMIT_DISTFILES_CDROM?= Yes PERMIT_DISTFILES_FTP?= Yes PERMIT_PACKAGE_CDROM?= Yes PERMIT_PACKAGE_FTP?= Yes +.if ${MACHINE_ARCH} != "sparc64" # XXX -fno-stack-protector in gcc3 instead CFLAGS+=-fno-stack-protector CXXFLAGS+=-fno-stack-protector +.endif