summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-04 18:14:54 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-04 18:14:54 +0000
commit3d313f1b524267d5ac51fdf41c73128f11a1f1ee (patch)
tree6093f00853263965315bc9dbfc4e5bfaaf89006f /sys-devel/gcc-nios2
parentMark 2.3.1 stable on alpha (diff)
downloadhistorical-3d313f1b524267d5ac51fdf41c73128f11a1f1ee.tar.gz
historical-3d313f1b524267d5ac51fdf41c73128f11a1f1ee.tar.bz2
historical-3d313f1b524267d5ac51fdf41c73128f11a1f1ee.zip
fix default CTARGET setting when used with crossdev
Diffstat (limited to 'sys-devel/gcc-nios2')
-rw-r--r--sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild b/sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild
index e3d9019a78d4..e5f11991c1b9 100644
--- a/sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild
+++ b/sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild,v 1.1 2006/01/02 00:15:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild,v 1.2 2006/02/04 18:14:03 vapier Exp $
-[[ ${CTARGET} != nios* ]] && export CTARGET="nios2-elf"
+[[ ${CTARGET} != nios* && ${CATEGORY} == "sys-devel" ]] && export CTARGET="nios2-elf"
GCC_A_FAKEIT=${A}
export USE="nocxx -fortran -gcj -objc -multilib"