diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-11-22 14:50:10 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-11-22 14:50:10 +0100 |
| commit | 2e314136ed58b6860c667e379bef22190fe84aa2 (patch) | |
| tree | 21f897804c03c3419a0c015ace3bf9fb9c1b8e52 /build-aux/config.guess | |
| parent | 50d223b12c1319b4b9c4a5b8e34866c46996cb36 (diff) | |
New upstream version 5.2upstream/5.2upstream
Diffstat (limited to 'build-aux/config.guess')
| -rwxr-xr-x | build-aux/config.guess | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/build-aux/config.guess b/build-aux/config.guess index 67f9aa0..6116f18 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -4,7 +4,7 @@ # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2024-01-01' +timestamp='2024-07-27' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -123,7 +123,7 @@ set_cc_for_build() { dummy=$tmp/dummy case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in ,,) echo "int x;" > "$dummy.c" - for driver in cc gcc c89 c99 ; do + for driver in cc gcc c17 c99 c89 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD=$driver break @@ -645,7 +645,8 @@ EOF sed 's/^ //' << EOF > "$dummy.c" #include <sys/systemcfg.h> - main() + int + main () { if (!__power_pc()) exit(1); @@ -729,7 +730,8 @@ EOF #include <stdlib.h> #include <unistd.h> - int main () + int + main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); @@ -1632,6 +1634,7 @@ cat > "$dummy.c" <<EOF #endif #endif #endif +int main () { #if defined (sony) |
