Make detection of Clang CL driver mode more robust
...so that that mode can be requested via either 'clang-cl' or 'clang --driver-mode=cl' (where the latter will be needed for --enable-compiler-plugins on Windows). The patch assumes that Clang uses the CL driver mode iff running on Windows. Moves the SHOWINCLUDES_PREFIX check around so that the code dropping -FIIntrin.h from CC can be shared (new CC_PLAIN variable). Change-Id: I85ee19d0e6f8da5136b38f1892e5dd9240df6e9c Reviewed-on: https://gerrit.libreoffice.org/42195Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Showing
Please
register
or
sign in
to comment