Message ID | 1415532968-9379-1-git-send-email-syntheticpp@gmx.net |
---|---|
State | Superseded |
Headers | show |
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk index e16fce5..db35c43 100644 --- a/toolchain/toolchain-external/toolchain-external.mk +++ b/toolchain/toolchain-external/toolchain-external.mk @@ -634,6 +634,9 @@ define TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER for i in $(TOOLCHAIN_EXTERNAL_CROSS)*; do \ base=$${i##*/}; \ case "$$base" in \ + *-ar|*-ranlib|*-nm) \ + ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%../..%') .; \ + ;; \ *cc|*cc-*|*++|*++-*|*cpp) \ ln -sf ext-toolchain-wrapper $$base; \ ;; \
The gcc prefix of the the gcc-ar/ranlib/nm did trigger the wrapping which breakes these tools because of the passed GCC options. These tools should be called when lto is used. Signed-off-by: Peter Kümmel <syntheticpp@gmx.net> --- toolchain/toolchain-external/toolchain-external.mk | 3 +++ 1 file changed, 3 insertions(+)