rpm/rpm-5.2.1-configure_fix_gnueabi_support.patch

15 lines
552 B
Diff

diff -Nru rpm-5.2.1.orig//configure.ac rpm-5.2.1/configure.ac
--- rpm-5.2.1.orig//configure.ac 2010-08-08 15:33:22.395183431 +0200
+++ rpm-5.2.1/configure.ac 2010-08-08 15:34:39.238308596 +0200
@@ -1543,6 +1543,10 @@
target_os=`echo "${target_os}" | sed 's/-gnu$//'`
target_os_gnu="-gnu"
fi
+if echo "$target_os" | grep '.*-gnueabi' > /dev/null ; then
+ target_os=`echo "${target_os}" | sed 's/-gnueabi$//'`
+ target_os_gnu="-gnueabi"
+fi
changequote(<, >)
target_os_exact="${target_os}"
target_os_major=`echo "${target_os}" | sed 's/\..*$//'`