third_party_libedit/cross_compile_support_ohos.patch
liujia178 a89010b8cc Cross-compilation capability for OHOS system support.
Issue: https://gitee.com/openharmony/third_party_llvm-project/issues/I9GMT2

Signed-off-by: liujia178 <liujia178@huawei.com>
Change-Id: Ia5e34dbbe7f4166ea405264fdbcb61ef275e1ab8
2024-04-30 11:09:23 +08:00

21 lines
694 B
Diff

--- libedit/config.sub 2021-09-11 00:40:21.000000000 +0800
+++ libedit/config.sub 2024-03-11 15:51:40.009858928 +0800
@@ -1738,7 +1738,7 @@
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
- | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx*)
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | ohos*)
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
@@ -1775,6 +1775,8 @@
;;
*-eabi* | *-gnueabi*)
;;
+ *-ohos)
+ ;;
-*)
# Blank kernel with real OS is always fine.
;;