From 0379062921056e216f302a27a348d6bd7f420569 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Sun, 11 May 2014 12:15:53 +0200 Subject: [PATCH 4/6] arch: custom LDFLAGS for libkate --- recipes/libkate.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/libkate.recipe b/recipes/libkate.recipe index e8419b8..3d78327 100644 --- a/recipes/libkate.recipe +++ b/recipes/libkate.recipe @@ -13,3 +13,5 @@ class Recipe(recipe.Recipe): def prepare(self): if self.config.target_platform == Platform.ANDROID: self.autoreconf = True + elif self.config.target_distro == Distro.ARCH: + self.append_env = {'LDFLAGS': '-Wl,-O1,--sort-common,--as-needed,-z,relro'} -- 2.0.0