mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-25 15:31:05 +00:00
68cd6e6d26
HOST_OS really is the target OS. Allow setting it for configure via an environment variable. libltrace.a should have an index: Allow ar to be set as an environment variable, and generate an index in this lib. Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
19 lines
495 B
Diff
19 lines
495 B
Diff
diff -ru ltrace-0.5.3.org/configure ltrace-0.5.3/configure
|
|
--- ltrace-0.5.3.org/configure 2011-08-21 18:55:15.000000000 +0200
|
|
+++ ltrace-0.5.3/configure 2011-08-21 18:54:46.000000000 +0200
|
|
@@ -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
|