[Libreoffice-commits] .: solenv/gbuild
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 22 03:15:14 PDT 2012
solenv/gbuild/platform/com_GCC_class.mk | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 012a996721b12baf6365300bf6f4e691260d26de
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Oct 22 12:11:40 2012 +0200
Remove arguments unused when compiling assembler object (-D, -I, etc.)
...at least Clang 3.2 warns about them, and with -Werror would produce fatal
errors for them.
Change-Id: I59568adc969ebd1ba2f20ef6c41edc7c5f5d29ed
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk
index 1a88a36..a8f2d4b 100644
--- a/solenv/gbuild/platform/com_GCC_class.mk
+++ b/solenv/gbuild/platform/com_GCC_class.mk
@@ -38,13 +38,9 @@ $(call gb_Output_announce,$(2),$(true),ASM,3)
$(call gb_Helper_abbreviate_dirs,\
mkdir -p $(dir $(1)) $(dir $(4)) && cd $(SRCDIR) && \
$(gb_CC) \
- $(DEFS) \
- $(if $(WARNINGS_NOT_ERRORS),,$(gb_CFLAGS_WERROR)) \
$(T_CFLAGS) \
-c $(3) \
- -o $(1) \
- -I$(dir $(3)) \
- $(INCLUDE)) && \
+ -o $(1)) && \
echo "$(1) : $(3)" > $(4)
endef
More information about the Libreoffice-commits
mailing list