mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-28 08:38:53 +00:00
98bc4decde
Signed-off-by: Alexey Neyman <stilor@att.net>
22 lines
419 B
Diff
22 lines
419 B
Diff
---
|
|
configure | 8 ++++++--
|
|
1 file changed, 6 insertions(+), 2 deletions(-)
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -15,8 +15,12 @@
|
|
echo $PACKAGE_VERSION
|
|
|
|
echo -n "checking HOST_OS... "
|
|
-HOST_OS=$( uname -s )
|
|
-if [ "$HOST_OS" = "Linux" ]
|
|
+if [ -z "$HOST_OS" ] ; then
|
|
+ HOST_OS=$( uname -s )
|
|
+else
|
|
+ echo -n "using preset: "
|
|
+fi
|
|
+if [ "$HOST_OS" = "Linux" -o "$HOST_OS" = "linux" ]
|
|
then
|
|
HOST_OS="linux-gnu"
|
|
fi
|