Fix calling convention incompatibility with vendor compiler
[official-gcc.git] / libvtv / configure.tgt
blob8606c2108500be9492b83883e297fdaa149aa791
1 # -*- shell-script -*-
2 #   Copyright (C) 2013-2024 Free Software Foundation, Inc.
4 # This program 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 2 of the License, or
7 # (at your option) any later version.
9 # This program 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.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not see <http://www.gnu.org/licenses/>.
17 # This is the target specific configuration file.  This is invoked by the
18 # autoconf generated configure script.  Putting it in a separate shell file
19 # lets us skip running autoconf when modifying target specific information.
21 # Filter out unsupported systems.
22 VTV_SUPPORTED=no
23 case "${target}" in
24   *-*-*android*)
25         ;;
26   *-*-solaris2.1[1-9]*)
27         # Vtable verification requires constructor priority support and
28         # dl_iterate_phdr.  The former requires a dynamic check in
29         # configure.ac, the latter is fully present in Solaris 11 only.
30         VTV_SUPPORTED=yes
31         ;;
32   x86_64-*-linux* | i?86-*-linux*)
33         VTV_SUPPORTED=yes
34         ;;
35   x86_64-*-cygwin* | i?86-*-cygwin*)
36         VTV_SUPPORTED=yes
37         ;;
38   x86_64-*-mingw* | i?86-*-mingw*)
39         VTV_SUPPORTED=yes
40         ;;
41   powerpc*-*-linux*)
42         ;;
43   sparc*-*-linux*)
44         ;;
45   arm*-*-linux*)
46         VTV_SUPPORTED=yes
47         ;;
48   aarch64*-*-linux*)
49         VTV_SUPPORTED=yes
50         ;;
51   x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
52         ;;
53   loongarch*-*-linux*)
54         VTV_SUPPORTED=yes
55         ;;
56   *)
57         ;;
58 esac