diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-04-25 01:44:20 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-04-25 01:44:20 +0000 |
commit | 65fc0e2c00e84cffe07efb21d62a634730925a2e (patch) | |
tree | cb8de8f4b02c56ccb44b19701418c7023fd35907 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 0fef333dee6f12b279eb630f3b9b5179d9232168 (diff) | |
download | bcm5719-llvm-65fc0e2c00e84cffe07efb21d62a634730925a2e.tar.gz bcm5719-llvm-65fc0e2c00e84cffe07efb21d62a634730925a2e.zip |
Change llvm-config --ldflags to report ${CMAKE_CXX_LINK_FLAGS}
Should fix PR19526.
When Oscar added this code in the intial CMake build system port, he had
a TODO saying that ${CMAKE_SHARED_LINKER_FLAGS} was probably wrong. I
agree. I'm using ${CMAKE_CXX_LINK_FLAGS} to point LLVM at my custom
installation of gcc 4.recent, so that seems more correct. With this
change, I can build creduce against an installed clang, and it picks up
the write flags from --ldflags.
llvm-svn: 207171
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions