aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2017-12-08 19:42:47 +0000
committerShoaib Meenai <smeenai@fb.com>2017-12-08 19:42:47 +0000
commit038fd0056a0637bc6a7602753b6e580f61df31fd (patch)
tree0b0d7959499d2b20e81384da7f6570c9cd11b590 /llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
parente8828d49d08b72f79b785e71245684c35ee8fbe7 (diff)
downloadllvm-038fd0056a0637bc6a7602753b6e580f61df31fd.zip
llvm-038fd0056a0637bc6a7602753b6e580f61df31fd.tar.gz
llvm-038fd0056a0637bc6a7602753b6e580f61df31fd.tar.bz2
[cmake] Only pass CMAKE_SYSROOT if non-empty
In my build environment (cmake 3.6.1 and gcc 4.8.5 on CentOS 7), having an empty CMAKE_SYSROOT in the cache results in --sysroot="" being passed to all compile commands, and then the compiler errors out because of the empty sysroot. Only set CMAKE_SYSROOT if non-empty to avoid this. Differential Revision: https://reviews.llvm.org/D40934 llvm-svn: 320183
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp')
0 files changed, 0 insertions, 0 deletions