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
commitfd5b125b2086e84e9bf85c11e0cc7315eb25ed20 (patch)
tree6b5bac23705708bc15a794c2032f42e06eff6b01 /eclass
parent~alpha keyword. (diff)
downloadhistorical-fd5b125b2086e84e9bf85c11e0cc7315eb25ed20.tar.gz
historical-fd5b125b2086e84e9bf85c11e0cc7315eb25ed20.tar.bz2
historical-fd5b125b2086e84e9bf85c11e0cc7315eb25ed20.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"