• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/config.sub b/config.sub
2index e4c4e09..6dc3666 100644
3--- a/config.sub
4+++ b/config.sub
5@@ -1768,7 +1768,7 @@ case $os in
6 	     | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
7 	     | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
8 	     | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
9-	     | fiwix* | mlibc* | cos* | mbr* | ironclad* )
10+	     | fiwix* | mlibc* | cos* | mbr* | ironclad* | ohos* )
11 		;;
12 	# This one is extra strict with allowed versions
13 	sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
14@@ -1866,6 +1866,8 @@ case $kernel-$os-$obj in
15 		;;
16 	*-eabi*- | *-gnueabi*-)
17 		;;
18+	*-ohos*-)
19+		;;
20 	none--*)
21 		# None (no kernel, i.e. freestanding / bare metal),
22 		# can be paired with an machine code file format
23diff --git a/configure b/configure
24index 488d93f..55ff910 100644
25--- a/configure
26+++ b/configure
27@@ -17042,6 +17042,10 @@ else
28 	INSTALL_OPT_S=
29 fi
30
31+if test "${with_strip_program+set}" = set; then
32+  INSTALL_OPT_S="$INSTALL_OPT_S --strip-program=$with_strip_program"
33+fi
34+
35 : "${INSTALL:=install}"
36 echo "$as_me:17046: checking if install accepts -p option" >&5
37 echo $ECHO_N "checking if install accepts -p option... $ECHO_C" >&6
38