Filter more -fsanitize arguments out of COMPILER_PLUGINS_CXX
...so that e.g. -fsanitize-address-globals-dead-stripping doesn't lead to build failures like > [CXX] compilerplugins/clang/automem.cxx > clang++: error: argument unused during compilation: '-fsanitize-address-globals-dead-stripping' [-Werror,-Wunused-command-line-argument] Change-Id: I97524edd64d7dd764cb5d8a8a3b5d28fff6d3fd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200140 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
This commit is contained in:
+1
-1
@@ -8971,7 +8971,7 @@ if test "$COM_IS_CLANG" = "TRUE"; then
|
||||
fi
|
||||
# Assume Clang is self-built, but allow overriding COMPILER_PLUGINS_CXX to the compiler Clang was built with.
|
||||
if test -z "$COMPILER_PLUGINS_CXX"; then
|
||||
COMPILER_PLUGINS_CXX=[$(echo $CXX | sed -e 's/-fsanitize=[^ ]*//g')]
|
||||
COMPILER_PLUGINS_CXX=[$(echo $CXX | sed -e 's/-fsanitize[^ ]*//g')]
|
||||
fi
|
||||
clangbindir=$CLANGDIR/bin
|
||||
if test "$build_os" = "cygwin"; then
|
||||
|
||||
Reference in New Issue
Block a user