diff options
author | George Shapovalov <george@gentoo.org> | 2009-04-25 10:46:01 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2009-04-25 10:46:01 +0000 |
commit | cbd1b0f960f3d2f97a56cd3077e85326b3ecf67b (patch) | |
tree | 6c1cd61e05ff82ceaded093da3d2790eee1f134e /eclass | |
parent | ia64 stable wrt #266512 (diff) | |
download | gentoo-2-cbd1b0f960f3d2f97a56cd3077e85326b3ecf67b.tar.gz gentoo-2-cbd1b0f960f3d2f97a56cd3077e85326b3ecf67b.tar.bz2 gentoo-2-cbd1b0f960f3d2f97a56cd3077e85326b3ecf67b.zip |
added proper multilib support (#266769)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnatbuild.eclass | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass index 21154385f283..f6a420dfe46b 100644 --- a/eclass/gnatbuild.eclass +++ b/eclass/gnatbuild.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.46 2009/02/03 13:58:54 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.47 2009/04/25 10:46:01 george Exp $ # # Author: George Shapovalov <george@gentoo.org> # Belongs to: ada herd <ada@gentoo.org> @@ -484,6 +484,14 @@ gnatbuild_src_compile() { else confgcc="${confgcc} --enable-libada" fi + + # multilib support + if is_multilib ; then + confgcc="${confgcc} --enable-multilib" + else + confgcc="${confgcc} --disable-multilib" + fi + # einfo "confgcc=${confgcc}" cd "${GNATBUILD}" |