2014-02-26 12:52 GMT+04:00 Michał Górny <[email protected]>:
> Dnia 2014-02-26, o godz. 12:26:06
> Georg Rudoy <[email protected]> napisał(a):
>
>> I'm currently considering using C++14 in my project, particularly
>> features that aren't supported by gcc 4.8 and are barely supported by
>> 4.9 [1], but the standard is already fully supported by clang 3.4 [2].
>> Thus I wonder how bad is actually depending on recent clang in
>> ebuilds?
>
> Well, you should note that DEPENDing on sys-devel/clang is currently
> implemented as USE=clang in sys-devel/llvm (please don't depend on that
> directly, we will split it back ASAP). So if someone doesn't have clang
> enabled, he'd hit portage telling him to enable the flag.

And what about setting CMAKE_CXX_COMPILER in src_configure() (or where
it should be overriden)? I don't think it's a good idea to forcefully
set the compiler binary in CMakeLists.txt itself, is it better done in
ebuild?

-- 
  Georg Rudoy

Reply via email to