Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build)

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 16 October 2020 09:21 UTC

Clang's scan-build tool uses the CLANG_CXX environment variable (setting it up in the scan-build script to pass it to the ccc-analyzer script), but happens to erroneously set it to a non-existing path (see "[scan-build] Fix clang++ pathname again"). So wrapping LO's autogen.sh and make in scan-build picked up that broken CLANG_CXX and caused build failures like

> [CXX] external/skia/source/SkMemory_malloc.cxx > /bin/sh: ~/llvm/inst/bin/clang-12++: No such file or directory

(see "Re: llvm/clang static analyzer reports").

So rename CLANG_CXX, and for consistency also CLANG_CC and the various CLANG_CXXFLAGS_INTRINSICS_*, by prefixing each with LO_.

Change-Id: Ib41cabe940f8bfb1997f74e865cca5725f859e07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104383

5b0ca23615c3 Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build)
config_host.mk.in | 20 ++--
configure.ac | 102 ++++++++++-----------
.../project.pbxproj | 8 +-
external/libpng/StaticLibrary_libpng.mk | 4 +-
external/skia/Library_skia.mk | 14 +--
.../LibreOfficeLight.xcodeproj/project.pbxproj | 8 +-
ios/UnitTest/UnitTest.xcodeproj/project.pbxproj | 12 +--
osx/soffice.xcodeproj/project.pbxproj | 8 +-
solenv/gbuild/LinkTarget.mk | 6 +-
9 files changed, 91 insertions(+), 91 deletions(-)

Upstream: cgit.freedesktop.org


  • Share