summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/build-aux/config.sub10
-rwxr-xr-xBuild/source/libs/freetype2/freetype-src/builds/unix/config.sub10
-rwxr-xr-xBuild/source/libs/icu/icu-src/source/config.sub10
-rwxr-xr-xBuild/source/utils/asymptote/config.sub10
4 files changed, 32 insertions, 8 deletions
diff --git a/Build/source/build-aux/config.sub b/Build/source/build-aux/config.sub
index deb14e973f8..20f7cf29a9e 100755
--- a/Build/source/build-aux/config.sub
+++ b/Build/source/build-aux/config.sub
@@ -111,7 +111,7 @@ case $# in
esac
# Spilt fields of configuration type
-IFS="-" read field1 field2 field3 field4 <<EOF
+IFS="-" read -r field1 field2 field3 field4 <<EOF
$1
EOF
@@ -1360,7 +1360,7 @@ esac
# Decode manufacturer-specific aliases for certain operating systems.
-if [ x"$os" != x"" ]
+if [ x$os != x ]
then
case $os in
# First match some system type aliases that might get confused
@@ -1550,6 +1550,12 @@ case $os in
;;
-none)
;;
+ -*-eabi)
+ case $basic_machine in
+ arm*)
+ ;;
+ esac
+ ;;
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`
diff --git a/Build/source/libs/freetype2/freetype-src/builds/unix/config.sub b/Build/source/libs/freetype2/freetype-src/builds/unix/config.sub
index deb14e973f8..20f7cf29a9e 100755
--- a/Build/source/libs/freetype2/freetype-src/builds/unix/config.sub
+++ b/Build/source/libs/freetype2/freetype-src/builds/unix/config.sub
@@ -111,7 +111,7 @@ case $# in
esac
# Spilt fields of configuration type
-IFS="-" read field1 field2 field3 field4 <<EOF
+IFS="-" read -r field1 field2 field3 field4 <<EOF
$1
EOF
@@ -1360,7 +1360,7 @@ esac
# Decode manufacturer-specific aliases for certain operating systems.
-if [ x"$os" != x"" ]
+if [ x$os != x ]
then
case $os in
# First match some system type aliases that might get confused
@@ -1550,6 +1550,12 @@ case $os in
;;
-none)
;;
+ -*-eabi)
+ case $basic_machine in
+ arm*)
+ ;;
+ esac
+ ;;
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`
diff --git a/Build/source/libs/icu/icu-src/source/config.sub b/Build/source/libs/icu/icu-src/source/config.sub
index deb14e973f8..20f7cf29a9e 100755
--- a/Build/source/libs/icu/icu-src/source/config.sub
+++ b/Build/source/libs/icu/icu-src/source/config.sub
@@ -111,7 +111,7 @@ case $# in
esac
# Spilt fields of configuration type
-IFS="-" read field1 field2 field3 field4 <<EOF
+IFS="-" read -r field1 field2 field3 field4 <<EOF
$1
EOF
@@ -1360,7 +1360,7 @@ esac
# Decode manufacturer-specific aliases for certain operating systems.
-if [ x"$os" != x"" ]
+if [ x$os != x ]
then
case $os in
# First match some system type aliases that might get confused
@@ -1550,6 +1550,12 @@ case $os in
;;
-none)
;;
+ -*-eabi)
+ case $basic_machine in
+ arm*)
+ ;;
+ esac
+ ;;
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`
diff --git a/Build/source/utils/asymptote/config.sub b/Build/source/utils/asymptote/config.sub
index deb14e973f8..20f7cf29a9e 100755
--- a/Build/source/utils/asymptote/config.sub
+++ b/Build/source/utils/asymptote/config.sub
@@ -111,7 +111,7 @@ case $# in
esac
# Spilt fields of configuration type
-IFS="-" read field1 field2 field3 field4 <<EOF
+IFS="-" read -r field1 field2 field3 field4 <<EOF
$1
EOF
@@ -1360,7 +1360,7 @@ esac
# Decode manufacturer-specific aliases for certain operating systems.
-if [ x"$os" != x"" ]
+if [ x$os != x ]
then
case $os in
# First match some system type aliases that might get confused
@@ -1550,6 +1550,12 @@ case $os in
;;
-none)
;;
+ -*-eabi)
+ case $basic_machine in
+ arm*)
+ ;;
+ esac
+ ;;
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`