summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-20 21:45:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-20 21:45:30 +0000
commitcb77018fec633eab0f7417de43d326afa4010a5b (patch)
treede0816f2effdb6400bf625591dd31da80623dc83 /eclass
parentfix stupid m4 warnings (diff)
downloadgentoo-2-cb77018fec633eab0f7417de43d326afa4010a5b.tar.gz
gentoo-2-cb77018fec633eab0f7417de43d326afa4010a5b.tar.bz2
gentoo-2-cb77018fec633eab0f7417de43d326afa4010a5b.zip
use sjlj exceptions on hppa with gcc-3
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 2601312d1d4e..826c71e65924 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.145 2005/05/11 11:11:37 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.146 2005/05/20 21:45:30 vapier Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -919,6 +919,7 @@ gcc-compiler-configure() {
;;
# Enable sjlj exceptions for backward compatibility on hppa
hppa)
+ [[ ${PV:0:1} == "3" ]] && \
confgcc="${confgcc} --enable-sjlj-exceptions"
;;
esac