diff options
author | 2004-12-22 21:46:09 +0000 | |
---|---|---|
committer | 2004-12-22 21:46:09 +0000 | |
commit | 379b1116bbec817ef2a318bd1e2143803fa1c2c0 (patch) | |
tree | bf8e53cce4e0b8b52fd2b67aeea172bf3285632c /eclass/mozconfig.eclass | |
parent | correct fix for #74770 (diff) | |
download | historical-379b1116bbec817ef2a318bd1e2143803fa1c2c0.tar.gz historical-379b1116bbec817ef2a318bd1e2143803fa1c2c0.tar.bz2 historical-379b1116bbec817ef2a318bd1e2143803fa1c2c0.zip |
Forcing --enable-optimize=-O0 on hppa.
Diffstat (limited to 'eclass/mozconfig.eclass')
-rw-r--r-- | eclass/mozconfig.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/mozconfig.eclass b/eclass/mozconfig.eclass index 8cc8d6bf8746..242b76107ec5 100644 --- a/eclass/mozconfig.eclass +++ b/eclass/mozconfig.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/mozconfig.eclass,v 1.4 2004/11/30 23:12:07 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig.eclass,v 1.5 2004/12/22 21:46:09 gmsoft Exp $ # # mozconfig.eclass: the new mozilla.eclass @@ -81,6 +81,8 @@ mozconfig_init() { # Set optimization level based on CFLAGS if is-flag -O0; then mozconfig_annotate "from CFLAGS" --enable-optimize=-O0 + elif [[ ${ARCH} == hppa ]]; then + mozconfig_annotate "more than -O0 causes segfaults on hppa" --enable-optimize=-O0 elif [[ ${ARCH} == alpha || ${ARCH} == amd64 || ${ARCH} == ia64 ]]; then mozconfig_annotate "more than -O1 causes segfaults on 64-bit (bug 33767)" \ --enable-optimize=-O1 |