summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-03-13 10:59:23 +0000
committerPavel Labath <labath@google.com>2017-03-13 10:59:23 +0000
commit5b35d1980c262ae06d40fbea21063ae451a7c1aa (patch)
treedb4db70c056e383c19117943476b49ff45571f3c /clang/lib/Frontend/CompilerInvocation.cpp
parentcacc08bb462739c93ab7f8735b2d079c7dd70645 (diff)
downloadbcm5719-llvm-5b35d1980c262ae06d40fbea21063ae451a7c1aa.tar.gz
bcm5719-llvm-5b35d1980c262ae06d40fbea21063ae451a7c1aa.zip
Fix android build
getpwent is not available on android until API level 21, and even then it is only available when doing a non-static link. Since android's concept of users is very different from linux, it's doubtful the home directory resolution would be useful, so I approximate this state by just not using getpwent on android. We've had another getpwent occurance in FileSpec for a while -- it wasn't causing problems because it was stripped out by the linker, but I disable that also, for consistency's sake. llvm-svn: 297612
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud