summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2005-04-25 07:28:59 +0000
committerGuy Martin <gmsoft@gentoo.org>2005-04-25 07:28:59 +0000
commit38e83ec8326e8b795cd99ac7f344e5186ab6bee8 (patch)
tree0cf01ba1b77bb4e6fed104e406c8ed0f4194bc77 /eclass
parent~alpha keyword. (diff)
downloadgentoo-2-38e83ec8326e8b795cd99ac7f344e5186ab6bee8.tar.gz
gentoo-2-38e83ec8326e8b795cd99ac7f344e5186ab6bee8.tar.bz2
gentoo-2-38e83ec8326e8b795cd99ac7f344e5186ab6bee8.zip
Readdded sjlj exceptions fix for hppa.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 3ecc548e8f3e..538d36569329 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.142 2005/04/15 03:03:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.143 2005/04/25 07:28:59 gmsoft Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -904,8 +904,8 @@ gcc-compiler-configure() {
confgcc="${confgcc} --enable-java-awt=gtk"
fi
- # Add --with-abi flags to enable respective MIPS ABIs
case $(tc-arch) in
+ # Add --with-abi flags to enable respective MIPS ABIs
mips)
if is_crosscompile && is_multilib; then
confgcc="${confgcc} --with-abi=32 --with-abi=n32 --with-abi=64"
@@ -915,6 +915,10 @@ gcc-compiler-configure() {
use n32 && confgcc="${confgcc} --with-abi=n32"
fi
;;
+ # Enable sjlj exceptions for backward compatibility on hppa
+ hppa)
+ confgcc="${confgcc} --enable-sjlj-exceptions"
+ ;;
esac
GCC_LANG="c"