aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2019-03-18 03:25:59 -0700
committerSergei Trofimovich <slyfox@gentoo.org>2019-03-18 22:52:23 +0000
commit6e280b057cf2971f1a94aae83117fa6d9c194c72 (patch)
tree288527a30eb5c61c0ebb389be9a057504bdc1a52 /wrappers/emerge-wrapper
parentAdd riscv* to the Linux short list (diff)
downloadcrossdev-6e280b057cf2971f1a94aae83117fa6d9c194c72.tar.gz
crossdev-6e280b057cf2971f1a94aae83117fa6d9c194c72.tar.bz2
crossdev-6e280b057cf2971f1a94aae83117fa6d9c194c72.zip
emerge-wrapper: pin bare-metal targets to LIBC=newlib
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Diffstat (limited to 'wrappers/emerge-wrapper')
-rwxr-xr-xwrappers/emerge-wrapper1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index 325d988..c652df5 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -59,6 +59,7 @@ cross_wrap_etc()
*musl*) LIBC=musl ;;
*cygwin*) LIBC=Cygwin ;;
*mingw*) LIBC=mingw ;;
+ *-newlib|*-elf|*-eabi) LIBC=newlib ;;
*) emit_setup_warning "No LIBC is known for this target." ;;
esac