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....)
This commit is contained in:
pvalchev 2003-06-15 07:21:49 +00:00
parent b17d8bf344
commit 9b6e8b4a6a

View File

@ -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