summaryrefslogtreecommitdiff
path: root/gcc/config/i386/t-kfreebsd
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/t-kfreebsd')
-rw-r--r--gcc/config/i386/t-kfreebsd5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/i386/t-kfreebsd b/gcc/config/i386/t-kfreebsd
new file mode 100644
index 000000000..b4310df8a
--- /dev/null
+++ b/gcc/config/i386/t-kfreebsd
@@ -0,0 +1,5 @@
+MULTIARCH_DIRNAME = $(call if_multiarch,i386-kfreebsd-gnu)
+
+# MULTILIB_OSDIRNAMES are set in t-linux64.
+KFREEBSD_OS = $(filter kfreebsd%, $(word 3, $(subst -, ,$(target))))
+MULTILIB_OSDIRNAMES := $(subst linux,$(KFREEBSD_OS),$(MULTILIB_OSDIRNAMES))