summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-28 09:19:41 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-28 09:19:41 +0000
commit4ec5d065441b738c04825fb53faedec22fcd6dd5 (patch)
tree9be33b41dce575c61c349ce487084aaea33bf60c /sys-devel
parentsplit to stable (diff)
downloadgentoo-2-4ec5d065441b738c04825fb53faedec22fcd6dd5.tar.gz
gentoo-2-4ec5d065441b738c04825fb53faedec22fcd6dd5.tar.bz2
gentoo-2-4ec5d065441b738c04825fb53faedec22fcd6dd5.zip
split to stable
Diffstat (limited to 'sys-devel')
-rwxr-xr-xsys-devel/crossdev/files/crossdev-stable19
1 files changed, 3 insertions, 16 deletions
diff --git a/sys-devel/crossdev/files/crossdev-stable b/sys-devel/crossdev/files/crossdev-stable
index aab748ae8f24..54b6e0457bf6 100755
--- a/sys-devel/crossdev/files/crossdev-stable
+++ b/sys-devel/crossdev/files/crossdev-stable
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev-stable,v 1.5 2008/11/28 09:18:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev-stable,v 1.6 2008/11/28 09:19:41 vapier Exp $
cd /
umask 0022 #159111
@@ -148,10 +148,6 @@ parse_target() {
LCAT="dev-embedded"; LPKG="avr-libc";
GUSE=${GUSE_DISABLE};;
- # due to upstream lameness, build C/C++ at first glance
- *-cygwin)
- GUSE_DISABLE=${GUSE_DISABLE/nocxx};;
-
mingw*|*-mingw*)
WITH_DEF_HEADERS="yes";
KCAT="dev-util"; KPKG="w32api";
@@ -201,12 +197,6 @@ parse_target() {
*-uclibc*) LPKG="uclibc";;
*-uclinux) LPKG="uclibc";;
- # Windows targets
- *-cygwin)
- LCAT="dev-libs"; LPKG="cygwin";
- KPKG="[none]";
- ;;
-
# Bare metal targets
*-newlib|*-elf)
LPKG="newlib"
@@ -220,8 +210,6 @@ parse_target() {
KPKG="[none]"
;;
esac
-
- : ${LPKG=[none]}
}
setup_portage_vars() {
@@ -341,9 +329,8 @@ GCAT="sys-devel" ; GPKG="gcc" ; GVER="" ; GUSE=""
KCAT="sys-kernel" ; KPKG="linux-headers" ; KVER="" ; KUSE=""
LCAT="sys-libs" ; LPKG="" ; LVER="" ; LUSE=""
DEFAULT_VER="[latest]"
-GUSE_DISABLE="-boundschecking -d -fortran -gtk -gcj -libffi -mudflap nocxx -objc -objc++ -objc-gc -openmp"
+GUSE_DISABLE="-boundschecking -d -fortran -gtk -gcj -libffi -mudflap -objc -objc++ -objc-gc -openmp"
GUSE_DISABLE_STAGE_2=${GUSE_DISABLE/-fortran}
-GUSE_DISABLE_STAGE_2=${GUSE_DISABLE_STAGE_2/nocxx}
WITH_HEADERS="COW" WITH_DEF_HEADERS="yes" #227065 gcc-4.3+ is a pita w/out headers
EX_FAST="no"
EX_GCC="no"
@@ -629,7 +616,7 @@ USE="${KUSE} ${USE}" CROSSCOMPILE_OPTS="headers-only" \
USE="${LUSE} ${USE}" CROSSCOMPILE_OPTS="headers-only" \
doemerge ${LPKG} ${LPKG}-headers
fi
-USE="${GUSE} ${USE} ${GUSE_DISABLE}" CROSSCOMPILE_OPTS="bootstrap" \
+USE="${GUSE} ${USE} ${GUSE_DISABLE} nocxx" CROSSCOMPILE_OPTS="bootstrap" \
doemerge ${GPKG} ${GPKG}-stage1
is_s2 || exit 0