]> granicus.if.org Git - clang/commit
Don't pass --build-id to ld by default.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 3 Jun 2016 17:26:16 +0000 (17:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 3 Jun 2016 17:26:16 +0000 (17:26 +0000)
commit420621a91c69d847f7f3c3f2284cf42b8304c647
treee8312cbf2874a52e21cb570563b9fc5bbe1eba47
parent9288c531812f5c3bc6d9cb2fcda4653901fa0ea9
Don't pass --build-id to ld by default.

We now have a cmake option to change the default: ENABLE_LINKER_BUILD_ID.

The reason is that build-id is fairly expensive, so we shouldn't impose
it in the regular edit/build cycle.

This is similar to gcc, that has an off by default --enable-linker-build-id
option.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271692 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
include/clang/Config/config.h.cmake
lib/Driver/ToolChains.cpp