From 75edc0b0c75a6dd05d6e8d31360ce0f7217008b6 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 10 Mar 2020 20:45:46 +0100 Subject: [PATCH] package/bearssl: needs -fPIC Fixes: - http://autobuild.buildroot.org/results/e677519c7536447062bf15fb7aa73eded19a6cf6 Signed-off-by: Fabrice Fontaine Tested-by: Giulio Benetti Signed-off-by: Thomas Petazzoni --- package/bearssl/bearssl.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/bearssl/bearssl.mk b/package/bearssl/bearssl.mk index e85626153c..ff5f4e87b7 100644 --- a/package/bearssl/bearssl.mk +++ b/package/bearssl/bearssl.mk @@ -16,6 +16,7 @@ BEARSSL_MAKE_OPTS = \ ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) BEARSSL_TARGETS += dll +BEARSSL_MAKE_OPTS += CFLAGS="$(TARGET_CFLAGS) -fPIC" endif ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -- 2.30.2