]> git.ipfire.org Git - thirdparty/gcc.git/blame - libphobos/configure.tgt
i386: Add missing BMI intrinsic to align with clang
[thirdparty/gcc.git] / libphobos / configure.tgt
CommitLineData
260eedb9 1# -*- shell-script -*-
99dee823 2# Copyright (C) 2018-2021 Free Software Foundation, Inc.
260eedb9
IB
3#
4# GCC is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 3, or (at your option)
7# any later version.
8#
9# GCC is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with GCC; see the file COPYING3. If not see
16# <http://www.gnu.org/licenses/>.
17
18# This is the target specific configuration file. This is invoked by the
19# autoconf generated configure script. Putting it in a separate shell file
20# lets us skip running autoconf when modifying target specific information.
21
22# Disable the libphobos or libdruntime components on untested or known
23# broken systems. More targets shall be added after testing.
7d31d331 24LIBPHOBOS_SUPPORTED=no
261bd78d 25LIBDRUNTIME_ONLY=auto
260eedb9 26case "${target}" in
fa9091ad
IB
27 *-*-dragonfly*)
28 LIBPHOBOS_SUPPORTED=yes
29 ;;
a0128060
IB
30 aarch64*-*-linux*)
31 LIBPHOBOS_SUPPORTED=yes
32 ;;
260eedb9 33 arm*-*-linux*)
7d31d331 34 LIBPHOBOS_SUPPORTED=yes
260eedb9 35 ;;
c8086357
IB
36 hppa-*-linux*)
37 LIBPHOBOS_SUPPORTED=yes
38 ;;
260eedb9 39 mips*-*-linux*)
7d31d331 40 LIBPHOBOS_SUPPORTED=yes
260eedb9 41 ;;
1b0cbe05
IB
42 power*-*-linux*)
43 LIBPHOBOS_SUPPORTED=yes
44 LIBDRUNTIME_ONLY=yes
45 ;;
d9392bfa
IB
46 riscv*-*-linux*)
47 LIBPHOBOS_SUPPORTED=yes
48 ;;
130cc10e
IB
49 s390*-linux*)
50 LIBPHOBOS_SUPPORTED=yes
51 ;;
e855b30c
IB
52 x86_64-*-freebsd* | i?86-*-freebsd*)
53 LIBPHOBOS_SUPPORTED=yes
54 ;;
260eedb9 55 x86_64-*-kfreebsd*-gnu | i?86-*-kfreebsd*-gnu)
7d31d331 56 LIBPHOBOS_SUPPORTED=yes
260eedb9
IB
57 ;;
58 x86_64-*-linux* | i?86-*-linux*)
7d31d331 59 LIBPHOBOS_SUPPORTED=yes
260eedb9 60 ;;
2f2b8e40 61 x86_64-*-netbsd* | i?86-*-netbsd*)
7d31d331 62 LIBPHOBOS_SUPPORTED=yes
2f2b8e40 63 ;;
7d31d331
RO
64 x86_64-*-solaris2.11* | i?86-*-solaris2.11*)
65 LIBPHOBOS_SUPPORTED=yes
260eedb9
IB
66 ;;
67esac