jwinarske / clang_toolchain

Build LLVM Toolchain targeting a custom sysroot - Clang, LLD, Binutils (gold), compiler-rt, libc++, libcxxabi, libunwind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem about "build binutils"

Rowandjj opened this issue · comments

Hi, may I ask a question?

why we apply a patch to binutils ? What's for?

set(BINUTILS_PATCH 
            git checkout gold/gold-threads.cc && 
            git apply ${CMAKE_SOURCE_DIR}/cmake/patches/binutils/gold.patch)

thanks~

That's required when building the tool chain with Clang.