crosstool-ng/packages/ltrace/0.5.3/0011-configure-hostos.patch
Alexey Neyman 98bc4decde Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:44:39 -08:00

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