summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-10-22 12:11:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-22 12:11:40 +0200
commit012a996721b12baf6365300bf6f4e691260d26de (patch)
tree72fd67cc4626f0ce77bedc9c10acd2cb3d6e9577 /solenv
parentdedff8f84ce19949da03c02bb7b41bc62d2789af (diff)
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
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_GCC_class.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk
index 1a88a36c42f1..a8f2d4b2622e 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