summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/JSONTest.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-07-10 10:46:51 +0000
committerMartin Storsjo <martin@martin.st>2018-07-10 10:46:51 +0000
commit006bffe25aa2808231998b6ff84801638dc33d44 (patch)
treef4b8cc17e2b9f60d4d18b601d6038a5ff2102d11 /llvm/unittests/Support/JSONTest.cpp
parent995e596168551b879f736004e8aa40a6e09b915e (diff)
downloadbcm5719-llvm-006bffe25aa2808231998b6ff84801638dc33d44.tar.gz
bcm5719-llvm-006bffe25aa2808231998b6ff84801638dc33d44.zip
[MinGW] Skip adding default win32 api libraries if -lwindowsapp is specified
In this setup, skip adding all the default windows import libraries, if linking to windowsapp (which replaces them, when targeting the windows store/UWP api subset). With GCC, the same is achieved by using a custom spec file, but since clang doesn't use spec files, we have to allow other means of overriding what default libraries to use (without going all the way to using -nostdlib, which would exclude everything). The same approach, in detecting certain user specified libraries and omitting others from the defaults, was already used in SVN r314138. Differential Revision: https://reviews.llvm.org/D49059 llvm-svn: 336655
Diffstat (limited to 'llvm/unittests/Support/JSONTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud