solenv/gbuild/platform/com_GCC_class.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit da00cd9ef98bd1910be1d91d2d7a57278f818c76 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Fri Aug 9 13:11:02 2024 +0200 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Fri Aug 9 14:24:42 2024 +0200 Avoid -Werror,-Wunused-command-line-argument in CompilerTests ...after <https://github.com/llvm/llvm-project/commit/6461e537815f7fa68cef06842505353cf5600e9c> "[Driver] Don't claim -c/-S", > [CPT] sal/qa/rtl/strings/compile-oustring.cxx > clang++: error: argument unused during compilation: '-c' [-Werror,-Wunused-command-line-argument] etc. Change-Id: I2a128c21fdc8a8858981a359880cf1d92c60cd68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171692 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk index 6c81efcc6e35..cb6e37e39422 100644 --- a/solenv/gbuild/platform/com_GCC_class.mk +++ b/solenv/gbuild/platform/com_GCC_class.mk @@ -82,7 +82,7 @@ $(call gb_Helper_abbreviate_dirs,\ $(if $(6), $(call gb_CObject__filter_out_clang_cflags,$(2)),$(2)) \ $(if $(WARNINGS_DISABLED),$(gb_CXXFLAGS_DISABLE_WARNINGS)) \ $(if $(EXTERNAL_CODE),$(gb_CXXFLAGS_Wundef),$(gb_DEFS_INTERNAL)) \ - -c $(3) \ + $(if $(COMPILER_TEST),,-c) $(3) \ -o $(1) \ $(if $(COMPILER_TEST),,$(call gb_cxx_dep_generation_options,$(1),$(4))) \ $(INCLUDE) \