From 4768f9236adb1e066b3ba5bb94d8aa00478aa5f6 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Sun, 2 Jan 2005 04:43:06 +0000 Subject: [PATCH] disable propolice on powerpc due to a bug (hopefully temporarily) now works again --- editors/emacs21/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile index 6ae0b3d49df..da1ab8e7a22 100644 --- a/editors/emacs21/Makefile +++ b/editors/emacs21/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.24 2004/12/14 21:15:55 espie Exp $ +# $OpenBSD: Makefile,v 1.25 2005/01/02 04:43:06 pvalchev Exp $ .if ${MACHINE_ARCH} == "hppa" BROKEN= "hangs indefinitely until machine panics/hangs" @@ -43,6 +43,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \ LDFLAGS="${ELF_TOOLCHAIN:L:S/yes/-Z/:S/no//} \ -L${LOCALBASE}/lib" +# Disable propolice on powerpc due to gcc3+propolice bug. +.if ${MACHINE_ARCH} == "powerpc" +CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fno-stack-protector" +.endif + MAKE_ENV= INSTALL_EMACS="${INSTALL_SCRIPT}" SUBST_VARS= GCCARCH VERSION