Page MenuHomePhabricator

[crt] Use CMAKE_C_COMPILER_ARG1 in compiler invocation

Authored by phosek on May 18 2019, 8:20 PM.

Diff Detail


Event Timeline

phosek created this revision.May 18 2019, 8:20 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 18 2019, 8:20 PM
Herald added subscribers: llvm-commits, Restricted Project, mgorny. · View Herald Transcript
thakis accepted this revision.May 18 2019, 8:25 PM

As said on IRC, a nicer fix would be to make clang-x86_64-debian-fast and friends use use CMAKE_C_COMPILER_LAUNCHER / CMAKE_CXX_COMPILER_LAUNCHER for ccache instead of setting CC / CXX – but it's also good to make the pre-cmake-3.4 way of configuring this work.

This revision is now accepted and ready to land.May 18 2019, 8:25 PM
This revision was automatically updated to reflect the committed changes.