From a0371f4be7b53db656c9d6362658c16072048256 Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Sat, 1 Jan 2005 22:55:35 +0000 Subject: [PATCH] -O3 is bad, bug 76331 --- eclass/vim.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 8e02241c3a36..7971e393d2ee 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.86 2004/12/18 22:55:53 spb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.87 2005/01/01 22:55:35 ciaranm Exp $ # Authors: # Ryan Phillips @@ -264,6 +264,11 @@ src_compile() { # Bug 57859 suggests that we want to do this for all archs filter-flags -funroll-all-loops + # Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for + # everyone since previous flag filtering bugs have turned out to affect + # multiple archs... + replace-flags -O3 -O2 + # Fix bug 18245: Prevent "make" from the following chain: # (1) Notice configure.in is newer than auto/configure # (2) Rebuild auto/configure -- 2.26.2