aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/t-uclibc
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2017-06-28 16:02:42 +0000
committerSzabolcs Nagy <nsz@gcc.gnu.org>2017-06-28 16:02:42 +0000
commitad669a1af4009b2d1f667716874758d91282869b (patch)
tree7eb1505fc5301b0499a19fe2c95393cd488cdf92 /gcc/config/t-uclibc
parent0ddc0ebc887b384fcb847743400be762b1a26f6d (diff)
downloadgcc-ad669a1af4009b2d1f667716874758d91282869b.zip
gcc-ad669a1af4009b2d1f667716874758d91282869b.tar.gz
gcc-ad669a1af4009b2d1f667716874758d91282869b.tar.bz2
multiarch support for non-glibc linux systems
Current multiarch directory name is always *-linux-gnu* on linux, this patch configures different names for uclibc and musl targets. 2017-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com> * config.gcc (*-linux-musl*): Add t-musl tmake_file. (*-linux-uclibc*): Add t-uclibc tmake_file. * config/t-musl: New. * config/t-uclibc: New. From-SVN: r249745
Diffstat (limited to 'gcc/config/t-uclibc')
-rw-r--r--gcc/config/t-uclibc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/t-uclibc b/gcc/config/t-uclibc
new file mode 100644
index 0000000..c9b3a7b
--- /dev/null
+++ b/gcc/config/t-uclibc
@@ -0,0 +1,2 @@
+MULTIARCH_DIRNAME := $(subst -linux-gnu,-linux-uclibc,$(MULTIARCH_DIRNAME))
+MULTILIB_OSDIRNAMES := $(subst -linux-gnu,-linux-uclibc,$(MULTILIB_OSDIRNAMES))