From 56bfe92ae1689d51c8e59931aee87b73aca884c5 Mon Sep 17 00:00:00 2001 From: Martin Haase Date: Mon, 29 Mar 2021 14:15:18 +0200 Subject: [PATCH 1/2] default.yaml: removed the linker flag --hash-style from CFLAGS FIXES #83 --- default.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.yaml b/default.yaml index 843e6a0f..ca9dfb77 100644 --- a/default.yaml +++ b/default.yaml @@ -40,7 +40,7 @@ environment: # position independent code in case static and dynamic libraries are mixed. CFLAGS: "-Os -pipe -fPIC" CXXFLAGS: "-Os -pipe -fPIC" - LDFLAGS: "-Wl,-O1 -Wl,--hash-style=gnu" + LDFLAGS: "-Wl,-O1" archive: backend: http From 34833c2d238132570b21a51a42f05e3b0ada53ae Mon Sep 17 00:00:00 2001 From: "Martin Haase (FDTech)" Date: Tue, 18 May 2021 07:46:34 +0200 Subject: [PATCH 2/2] recipes/devel/host-compat-toolchain: added hash-style=gnu parameter to LDFLAGS variable --- recipes/devel/host-compat-toolchain.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/devel/host-compat-toolchain.yaml b/recipes/devel/host-compat-toolchain.yaml index d2d40e86..2e1f3ec3 100644 --- a/recipes/devel/host-compat-toolchain.yaml +++ b/recipes/devel/host-compat-toolchain.yaml @@ -87,3 +87,4 @@ provideVars: # target-toolchain. ARCH is unchaged, though. AUTOCONF_BUILD: "$AUTOCONF_TARGET" AUTOCONF_HOST: "$AUTOCONF_TARGET" + LDFLAGS: "$LDFLAGS -Wl,--hash-style=gnu"