Displaying 2 results from an estimated 2 matches for "clang_link_shared".
2014 Mar 24
2
[LLVMdev] compiler-rt CMake build ignores CMAKE_CXX_FLAGS
...gle.com>wrote:
> Hi Dmitri,
>
> On Sat, Mar 22, 2014 at 11:50 PM, Dmitri Gribenko <gribozavr at gmail.com>wrote:
>
>> Hello,
>>
>> It looks like compiler-rt CMake scripts don't take CMAKE_CXX_FLAGS
>> into account. This is because clang_compile and clang_link_shared
>> functions call the newly-built compiler directly, and they don't add
>> those flags.
>>
>
> Indeed.
>
>
>>
>> Using CMAKE_CXX_FLAGS is necessary on systems where the C++11-enabled
>> libstdc++ is installed not in the default location. For exam...
2014 Mar 22
2
[LLVMdev] compiler-rt CMake build ignores CMAKE_CXX_FLAGS
Hello,
It looks like compiler-rt CMake scripts don't take CMAKE_CXX_FLAGS
into account. This is because clang_compile and clang_link_shared
functions call the newly-built compiler directly, and they don't add
those flags.
Using CMAKE_CXX_FLAGS is necessary on systems where the C++11-enabled
libstdc++ is installed not in the default location. For example, the
CentOS buildbot uses:
-DCMAKE_CXX_FLAGS=--gcc-toolchain=/opt/centos/dev...