2018-10-31 10:44:31 +01:00
|
|
|
# -*- shell-script -*-
|
2020-01-01 12:51:42 +01:00
|
|
|
# Copyright (C) 2018-2020 Free Software Foundation, Inc.
|
2018-10-31 10:44:31 +01:00
|
|
|
#
|
|
|
|
# GCC is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
# GCC is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with GCC; see the file COPYING3. If not see
|
|
|
|
# <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
# This is the target specific configuration file. This is invoked by the
|
|
|
|
# autoconf generated configure script. Putting it in a separate shell file
|
|
|
|
# lets us skip running autoconf when modifying target specific information.
|
|
|
|
|
|
|
|
# Disable the libphobos or libdruntime components on untested or known
|
|
|
|
# broken systems. More targets shall be added after testing.
|
2019-04-14 11:38:01 +02:00
|
|
|
LIBPHOBOS_SUPPORTED=no
|
2020-03-25 09:38:58 +01:00
|
|
|
LIBDRUNTIME_ONLY=auto
|
2018-10-31 10:44:31 +01:00
|
|
|
case "${target}" in
|
2020-10-29 14:07:02 +01:00
|
|
|
*-*-dragonfly*)
|
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
|
|
|
;;
|
2019-04-24 00:53:35 +02:00
|
|
|
aarch64*-*-linux*)
|
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
|
|
|
;;
|
2018-10-31 10:44:31 +01:00
|
|
|
arm*-*-linux*)
|
2019-04-14 11:38:01 +02:00
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
2018-10-31 10:44:31 +01:00
|
|
|
;;
|
2020-04-27 02:41:08 +02:00
|
|
|
hppa-*-linux*)
|
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
|
|
|
;;
|
2018-10-31 10:44:31 +01:00
|
|
|
mips*-*-linux*)
|
2019-04-14 11:38:01 +02:00
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
2018-10-31 10:44:31 +01:00
|
|
|
;;
|
2020-04-26 11:32:57 +02:00
|
|
|
power*-*-linux*)
|
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
|
|
|
LIBDRUNTIME_ONLY=yes
|
|
|
|
;;
|
2019-04-24 00:53:12 +02:00
|
|
|
riscv*-*-linux*)
|
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
|
|
|
;;
|
2019-04-24 00:53:25 +02:00
|
|
|
s390*-linux*)
|
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
|
|
|
;;
|
2020-11-28 16:55:53 +01:00
|
|
|
x86_64-*-freebsd* | i?86-*-freebsd*)
|
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
|
|
|
;;
|
2018-10-31 10:44:31 +01:00
|
|
|
x86_64-*-kfreebsd*-gnu | i?86-*-kfreebsd*-gnu)
|
2019-04-14 11:38:01 +02:00
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
2018-10-31 10:44:31 +01:00
|
|
|
;;
|
|
|
|
x86_64-*-linux* | i?86-*-linux*)
|
2019-04-14 11:38:01 +02:00
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
2018-10-31 10:44:31 +01:00
|
|
|
;;
|
2019-02-14 22:25:39 +01:00
|
|
|
x86_64-*-netbsd* | i?86-*-netbsd*)
|
2019-04-14 11:38:01 +02:00
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
2019-02-14 22:25:39 +01:00
|
|
|
;;
|
2019-04-14 11:38:01 +02:00
|
|
|
x86_64-*-solaris2.11* | i?86-*-solaris2.11*)
|
|
|
|
LIBPHOBOS_SUPPORTED=yes
|
2018-10-31 10:44:31 +01:00
|
|
|
;;
|
|
|
|
esac
|