aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-12-08 09:59:48 +0000
committerPavel Labath <labath@google.com>2017-12-08 09:59:48 +0000
commitf5f0fffea5ace079cc208fafa65150d23935a4d9 (patch)
tree2da86db69a9adaef9658d1dcf18c0b56cafc3a58 /llvm/lib/CodeGen/MachineOperand.cpp
parent2cf601f28f158cdce3c7640186e46a65bf308fc0 (diff)
downloadllvm-f5f0fffea5ace079cc208fafa65150d23935a4d9.zip
llvm-f5f0fffea5ace079cc208fafa65150d23935a4d9.tar.gz
llvm-f5f0fffea5ace079cc208fafa65150d23935a4d9.tar.bz2
[cmake] Make setting of CMAKE_C(XX)_COMPILER flags overridable for cross-builds
Summary: r319898 made it possible to override these variables via the CROSS_TOOLCHAIN_FLAGS setting, but this only worked if one explicitly specifies these variables there. If, instead, one uses CROSS_TOOLCHAIN_FLAGS to specify a toolchain file (as our internal builds do, to point cmake to a checked-in toolchain), the CMAKE_C(XX)_COMPILER flags would still win over the ones specified by the toolchain file. To fix is to make the mere presence of these flags overridable. I do this by putting them as a default value for the CROSS_TOOLCHAIN_FLAGS setting, so they can be overridden at cmake configuration time. Reviewers: hintonda, beanz Subscribers: bogner, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D40947 llvm-svn: 320138
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions