From 4edf77e50fa99c950ca7b9e95833fe69a5662947 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 2 Jul 2013 08:18:47 +0200
Subject: [PATCH] abuild: crosscompile support for strip

---
 abuild.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abuild.in b/abuild.in
index 2b74063dfa15..01669259d4be 100755
--- a/abuild.in
+++ b/abuild.in
@@ -1581,7 +1581,7 @@ stripbin() {
 	msg "Stripping binaries"
 	scanelf --recursive --nobanner --etype "ET_DYN,ET_EXEC" . \
 		| sed -e 's:^ET_DYN ::' -e 's:^ET_EXEC ::' \
-		| xargs -r strip
+		| xargs -r ${CROSS_COMPILE}strip
 }
 
 # simply list target apks
-- 
GitLab