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