]>
Commit | Line | Data |
---|---|---|
72a2ce3d | 1 | # -*- shell-script -*- |
fbd26352 | 2 | # Copyright (C) 2018-2019 Free Software Foundation, Inc. |
72a2ce3d | 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. | |
20abc61c | 24 | LIBPHOBOS_SUPPORTED=no |
72a2ce3d | 25 | case "${target}" in |
b09afa7b | 26 | aarch64*-*-linux*) |
27 | LIBPHOBOS_SUPPORTED=yes | |
28 | ;; | |
72a2ce3d | 29 | arm*-*-linux*) |
20abc61c | 30 | LIBPHOBOS_SUPPORTED=yes |
72a2ce3d | 31 | ;; |
32 | mips*-*-linux*) | |
20abc61c | 33 | LIBPHOBOS_SUPPORTED=yes |
72a2ce3d | 34 | ;; |
cf333d53 | 35 | riscv*-*-linux*) |
36 | LIBPHOBOS_SUPPORTED=yes | |
37 | ;; | |
22da68fb | 38 | s390*-linux*) |
39 | LIBPHOBOS_SUPPORTED=yes | |
40 | ;; | |
72a2ce3d | 41 | x86_64-*-kfreebsd*-gnu | i?86-*-kfreebsd*-gnu) |
20abc61c | 42 | LIBPHOBOS_SUPPORTED=yes |
72a2ce3d | 43 | ;; |
44 | x86_64-*-linux* | i?86-*-linux*) | |
20abc61c | 45 | LIBPHOBOS_SUPPORTED=yes |
72a2ce3d | 46 | ;; |
668bd806 | 47 | x86_64-*-netbsd* | i?86-*-netbsd*) |
20abc61c | 48 | LIBPHOBOS_SUPPORTED=yes |
668bd806 | 49 | ;; |
20abc61c | 50 | x86_64-*-solaris2.11* | i?86-*-solaris2.11*) |
51 | LIBPHOBOS_SUPPORTED=yes | |
72a2ce3d | 52 | ;; |
53 | esac |