summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNataliia Koval <nataliia.koval@globallogic.com>2014-10-20 17:30:08 +0300
committerNataliia Koval <nataliia.koval@globallogic.com>2014-11-05 02:02:15 -0800
commit13c951ec8b3b6d16a170ab7a091d30339876f61e (patch)
tree6fcd08db5b7d1f198316af73b3fccbce46a8350d
parent4911aabb47f039aa3d205aa6c6ebe1a982797c97 (diff)
downloadrpm-13c951ec8b3b6d16a170ab7a091d30339876f61e.tar.gz
rpm-13c951ec8b3b6d16a170ab7a091d30339876f61e.tar.bz2
rpm-13c951ec8b3b6d16a170ab7a091d30339876f61e.zip
Fixed incorrect writting host_os to platform/macros for uClibc
Change-Id: I107f04237037daffbc0d972ad9fed84a42836392 Signed-off-by: Nataliia Koval <nataliia.koval@globallogic.com>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e97f727f0..af593fed5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -832,6 +832,9 @@ fi
if echo "$host_os" | grep '.*-gnu' > /dev/null ; then
host_os=`echo "${host_os}" | sed 's/-gnu$//'`
fi
+if echo "$host_os" | grep '.*-uclibc' > /dev/null ; then
+ host_os=`echo "${host_os}" | sed 's/-uclibc$//'`
+fi
changequote(<, >)
host_os_exact="${host_os}"