1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 21:15:08 +00:00
serenity/Ports/yasm/patches/config.sub.patch

29 lines
1.1 KiB
Diff

--- yasm-1.3.0/config/original-config.sub 2021-04-13 19:32:43.345360128 +0100
+++ yasm-1.3.0/config/config.sub 2021-04-13 19:33:00.992081544 +0100
@@ -156,7 +156,7 @@
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- -apple | -axis | -knuth | -cray | -microblaze)
+ -apple | -axis | -knuth | -cray | -microblaze | serenity*)
os=
basic_machine=$1
;;
@@ -1368,7 +1368,7 @@
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | serenity*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
@@ -1505,6 +1505,8 @@
;;
-none)
;;
+ -serenity*)
+ ;;
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`