[Buildroot] [PATCH 1/1] package/bearssl: needs -fPIC

Giulio Benetti giulio.benetti at benettiengineering.com
Sun Mar 15 21:02:42 UTC 2020


Hi Fabrice,

On 3/10/20 8:45 PM, Fabrice Fontaine wrote:
> Fixes:
>   - http://autobuild.buildroot.org/results/e677519c7536447062bf15fb7aa73eded19a6cf6
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Tested-by: Giulio Benetti <giulio.benetti at benettiengineering.com>

> ---
>   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)
> 

-- 
Giulio Benetti
Benetti Engineering sas


More information about the buildroot mailing list