From 667b1a43a84b01756915ede9aab05cacadaec2c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexander=20Thei=C3=9Fen?= <alex@theissen.io>
Date: Sat, 17 Nov 2018 23:06:27 +0100
Subject: [PATCH] Use the STRIP variable during prepend stage

A hardcoded strip does not work when cross compiling.
---
 cook.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cook.sh b/cook.sh
index e4ad5b84a..bf7dc97b2 100755
--- a/cook.sh
+++ b/cook.sh
@@ -378,7 +378,7 @@ function op {
                         then
                             cp -v "$bin" "$stage/$BINDIR/$(basename $bin)"
                         else
-                            strip -v "$bin" -o "$stage/$BINDIR/$(basename $bin)"
+                            ${STRIP} -v "$bin" -o "$stage/$BINDIR/$(basename $bin)"
                         fi
                     done
                 else
-- 
GitLab