diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-19 02:59:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-19 02:59:49 +0000 |
commit | eb78ad8d26354e0d35e89cdddb58f4f09e45463e (patch) | |
tree | a7bf3255fa57311824bbd109195aba5e462a4cb8 /eclass | |
parent | Moving app-portage/pyGPG to the correct category dev-python/pyGPG. (diff) | |
download | gentoo-2-eb78ad8d26354e0d35e89cdddb58f4f09e45463e.tar.gz gentoo-2-eb78ad8d26354e0d35e89cdddb58f4f09e45463e.tar.bz2 gentoo-2-eb78ad8d26354e0d35e89cdddb58f4f09e45463e.zip |
set FCFLAGS/FFLAGS when cross-compiling
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index da2806122ff6..89e5d13f1720 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.553 2012/11/02 20:18:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.554 2012/11/19 02:59:49 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1398,6 +1398,8 @@ gcc_do_filter_flags() { if is_crosscompile ; then # Set this to something sane for both native and target CFLAGS="-O2 -pipe" + FFLAGS=${CFLAGS} + FCFLAGS=${CFLAGS} local VAR="CFLAGS_"${CTARGET//-/_} CXXFLAGS=${!VAR} |