From 2bc929b65c5aa05c6cacdd9e03536fec7a8c179f Mon Sep 17 00:00:00 2001
From: jD91mZM2 <me@krake.one>
Date: Wed, 24 Apr 2019 10:52:33 +0200
Subject: [PATCH] Resolve xz building issue for me

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

diff --git a/recipes/xz/recipe.sh b/recipes/xz/recipe.sh
index e1221711b..d5ca281d1 100644
--- a/recipes/xz/recipe.sh
+++ b/recipes/xz/recipe.sh
@@ -12,6 +12,10 @@ function recipe_update {
 }
 
 function recipe_build {
+    # Workaround of
+    # xzdec: hidden symbol `main' in xzdec-xzdec.o is referenced by DSO
+    export CFLAGS="-fvisibility=default"
+
     ./autogen.sh
     chmod +w build-aux/config.sub
     wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
-- 
GitLab