diff options
author | Don Hinton <hintonda@gmail.com> | 2017-12-06 15:25:14 +0000 |
---|---|---|
committer | Don Hinton <hintonda@gmail.com> | 2017-12-06 15:25:14 +0000 |
commit | e780c515773ad78af5d0a3f30a56440347911941 (patch) | |
tree | ca40341c36f69076f476c8a79f7a42237b18b4c1 /test/CodeGen | |
parent | ea2f82191ea542f9eeabef67d166fccd6d76b4f9 (diff) |
[cmake] Move CMAKE_(C|CXX)_COMPILER variables before CROSS_TOOLCHAIN_FLAGS so
they can be overridden when cross compiling.
Summary:
Since CROSS_TOOLCHAN_FLAGS can set CMAKE_(C|CXX)_COMPILER
variables, move the compiler variables up front so they can be
overridden.
This is a followup to https://reviews.llvm.org/D40229 committed in rL319620.
Thanks to Pavel Labath for reporting this issue.
Reviewers: labath, beanz
Subscribers: mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D40896
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
0 files changed, 0 insertions, 0 deletions