Explorar o código

update config.guess and config.sub from mainstream

Ozkan Sezer hai 10 meses
pai
achega
46ee6a3848
Modificáronse 2 ficheiros con 562 adicións e 176 borrados
  1. 7 4
      build-scripts/config.guess
  2. 555 172
      build-scripts/config.sub

+ 7 - 4
build-scripts/config.guess

@@ -4,7 +4,7 @@
 
 
 # shellcheck disable=SC2006,SC2268 # see below for rationale
 # 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
 # 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
 # under the terms of the GNU General Public License as published by
@@ -123,7 +123,7 @@ set_cc_for_build() {
     dummy=$tmp/dummy
     dummy=$tmp/dummy
     case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
     case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
 	,,)    echo "int x;" > "$dummy.c"
 	,,)    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
 		   if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
 		       CC_FOR_BUILD=$driver
 		       CC_FOR_BUILD=$driver
 		       break
 		       break
@@ -634,7 +634,8 @@ EOF
 		sed 's/^		//' << EOF > "$dummy.c"
 		sed 's/^		//' << EOF > "$dummy.c"
 		#include <sys/systemcfg.h>
 		#include <sys/systemcfg.h>
 
 
-		main()
+		int
+		main ()
 			{
 			{
 			if (!__power_pc())
 			if (!__power_pc())
 				exit(1);
 				exit(1);
@@ -718,7 +719,8 @@ EOF
 		#include <stdlib.h>
 		#include <stdlib.h>
 		#include <unistd.h>
 		#include <unistd.h>
 
 
-		int main ()
+		int
+		main ()
 		{
 		{
 		#if defined(_SC_KERNEL_BITS)
 		#if defined(_SC_KERNEL_BITS)
 		    long bits = sysconf(_SC_KERNEL_BITS);
 		    long bits = sysconf(_SC_KERNEL_BITS);
@@ -1621,6 +1623,7 @@ cat > "$dummy.c" <<EOF
 #endif
 #endif
 #endif
 #endif
 #endif
 #endif
+int
 main ()
 main ()
 {
 {
 #if defined (sony)
 #if defined (sony)

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 555 - 172
build-scripts/config.sub


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio