From f60171e17b3561ce4b9ed229b70bbc88ae29f1a2 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Thu, 13 Dec 2018 15:40:07 -0700
Subject: [PATCH] Install llvm and strip it

---
 recipes/llvm/recipe.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes/llvm/recipe.sh b/recipes/llvm/recipe.sh
index 5d9cde65d..6f8720e6e 100644
--- a/recipes/llvm/recipe.sh
+++ b/recipes/llvm/recipe.sh
@@ -61,6 +61,8 @@ function recipe_clean {
 }
 
 function recipe_stage {
-    echo make install
+    dest="$(realpath $1)"
+    make DESTDIR="$dest" install
+    find "$dest"/{bin,libexec} -exec $STRIP {} ';' 2> /dev/null
     skip=1
 }
-- 
GitLab