1diff -urN -x .git orig/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch patched/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch
2--- orig/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch	1970-01-01 09:00:00.000000000 +0900
3+++ patched/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch	2020-08-07 22:28:04.396770190 +0900
4@@ -0,0 +1,33 @@
5+diff -urN orig/config.sub patched/config.sub
6+--- orig/config.sub	2008-07-05 06:43:08.000000000 +0900
7++++ patched/config.sub	2020-08-07 22:23:48.412770731 +0900
8+@@ -238,6 +238,8 @@
9+ 	# Some are omitted here because they have special meanings below.
10+ 	1750a | 580 \
11+ 	| a29k \
12++	| aarch64 | aarch64_be \
13++	| riscv32 | riscv64 \
14+ 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
15+ 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
16+ 	| am33_2.0 \
17+@@ -314,6 +316,8 @@
18+ 	# Recognize the basic CPU types with company name.
19+ 	580-* \
20+ 	| a29k-* \
21++	| aarch64-* | aarch64_be-* \
22++	| riscv32-* | riscv64-* \
23+ 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
24+ 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
25+ 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
26+diff -urN orig/shtool patched/shtool
27+--- orig/shtool	2008-07-05 06:43:08.000000000 +0900
28++++ patched/shtool	2020-08-07 22:21:23.192771037 +0900
29+@@ -1400,7 +1400,7 @@
30+             if [ ".$opt_t" = .yes ]; then
31+                 echo "strip $dsttmp" 1>&2
32+             fi
33+-            strip $dsttmp || shtool_exit $?
34++            $STRIP $dsttmp || shtool_exit $?
35+         fi
36+         if [ ".$opt_o" != . ]; then
37+             if [ ".$opt_t" = .yes ]; then
38