mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2025-02-24 02:45:02 +00:00
43 lines
1.1 KiB
Diff
43 lines
1.1 KiB
Diff
--- src/gcc/config.sub 2024-04-17 12:59:33.770464867 +0300
|
|
+++ src/gcc/config.sub.patch 2024-04-17 13:10:53.190464608 +0300
|
|
@@ -647,6 +647,10 @@
|
|
basic_machine=ymp-cray
|
|
basic_os=unicos
|
|
;;
|
|
+ cgct)
|
|
+ basic_machine=x86_64-pc
|
|
+ basic_os=cgct
|
|
+ ;;
|
|
*)
|
|
basic_machine=$1
|
|
basic_os=
|
|
@@ -1336,6 +1340,10 @@
|
|
kernel=linux
|
|
os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
|
|
;;
|
|
+ cgct)
|
|
+ kernel=linux
|
|
+ os=cgct
|
|
+ ;;
|
|
*)
|
|
kernel=
|
|
os=$basic_os
|
|
@@ -1749,7 +1757,7 @@
|
|
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
|
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
|
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
|
- | fiwix* )
|
|
+ | fiwix* | cgct)
|
|
;;
|
|
# This one is extra strict with allowed versions
|
|
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
|
@@ -1767,7 +1775,7 @@
|
|
# (given a valid OS), if there is a kernel.
|
|
case $kernel-$os in
|
|
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
|
|
- | linux-musl* | linux-relibc* | linux-uclibc* )
|
|
+ | linux-musl* | linux-relibc* | linux-uclibc* | linux-cgct)
|
|
;;
|
|
uclinux-uclibc* )
|
|
;;
|