summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-30 18:14:01 (GMT)
committerMike Frysinger <vapier@gentoo.org>2012-08-30 18:14:01 (GMT)
commita91d41e49cbf4a87e74a878969cabbeb751929da (patch)
treeb7dd67643900827ff9f1e1fa045e4fa9eb0d7532
parentmake.conf: do no set LIBDIR anymore (diff)
downloadcrossdev-a91d41e49cbf4a87e74a878969cabbeb751929da.zip
crossdev-a91d41e49cbf4a87e74a878969cabbeb751929da.tar.gz
crossdev-a91d41e49cbf4a87e74a878969cabbeb751929da.tar.bz2
crossdev: enable multilib by default for bare-metal targets
Bare metal targets often times use multilib to support a variety of sub-targets with gcc. Since we just need the compiler to produce these extra libs and objs, enable multilib by default for all bare metal targets. For ones that don't care about multilib, this should be a nop. URL: https://bugs.gentoo.org/377039 URL: https://bugs.gentoo.org/407275 Reported-by: Michael Moon <triffid.hunter@gmail.com> Reported-by: Sven <sven.koehler@gmail.com> Tested-by: Tim Harder <radhermit@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xcrossdev3
1 files changed, 3 insertions, 0 deletions
diff --git a/crossdev b/crossdev
index ddfd5aa..b6ad814 100755
--- a/crossdev
+++ b/crossdev
@@ -191,6 +191,7 @@ parse_target() {
avr*) KPKG="[none]";
LCAT="dev-embedded"; LPKG="avr-libc";
GUSE="-fortran" # doesn't work
+ MULTILIB_USE="yes" #377039
WITH_DEF_HEADERS="no";;
# due to upstream lameness, build C/C++ at first glance
@@ -213,6 +214,7 @@ parse_target() {
LCAT="dev-embedded"; LPKG="msp430-libc";
DCAT="dev-embedded"; DPKG="msp430-gdb";
GUSE="-fortran -openmp";
+ MULTILIB_USE="yes"
WITH_DEF_HEADERS="no";;
nios2*)
@@ -267,6 +269,7 @@ parse_target() {
LPKG="newlib"
KPKG="[none]"
STAGE_DEFAULT=${STAGE_LIBC}
+ MULTILIB_USE="yes" #407275
WITH_DEF_HEADERS="no"
;;