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
commitad15880f675be2f53ec3e92e69565356ecaa416f (patch)
treeeaf97cee7f97b0334139c7c999dd74b54e219bb8 /sys-devel
parentMark 2.3.1 stable on alpha (diff)
downloadgentoo-2-ad15880f675be2f53ec3e92e69565356ecaa416f.tar.gz
gentoo-2-ad15880f675be2f53ec3e92e69565356ecaa416f.tar.bz2
gentoo-2-ad15880f675be2f53ec3e92e69565356ecaa416f.zip
fix default CTARGET setting when used with crossdev
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils-nios2/binutils-nios2-5.1.ebuild4
-rw-r--r--sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-devel/binutils-nios2/binutils-nios2-5.1.ebuild b/sys-devel/binutils-nios2/binutils-nios2-5.1.ebuild
index 6b3ff98f5a17..ba98cbf5acf5 100644
--- a/sys-devel/binutils-nios2/binutils-nios2-5.1.ebuild
+++ b/sys-devel/binutils-nios2/binutils-nios2-5.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-nios2/binutils-nios2-5.1.ebuild,v 1.1 2005/12/31 12:55:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-nios2/binutils-nios2-5.1.ebuild,v 1.2 2006/02/04 18:14:54 vapier Exp $
-[[ ${CTARGET} != nios* ]] && export CTARGET="nios2-elf"
+[[ ${CTARGET} != nios* && ${CATEGORY} == "sys-devel" ]] && export CTARGET="nios2-elf"
BINUTILS_TYPE="custom"
BINUTILS_VER="2.15"
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"