configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4f4a06ed1a3374bff82f79c5e7db14cb4ab889cf
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Tue Feb 24 08:30:22 2026 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Tue Feb 24 12:00:16 2026 +0100

    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 <[email protected]>

diff --git a/configure.ac b/configure.ac
index 5085e5f21f54..c898b3e3846d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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

Reply via email to