diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-10-22 12:11:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-22 12:11:40 +0200 |
commit | 012a996721b12baf6365300bf6f4e691260d26de (patch) | |
tree | 72fd67cc4626f0ce77bedc9c10acd2cb3d6e9577 /solenv | |
parent | -Werror,-Wtautological-constant-out-of-range-compare (diff) | |
download | core-012a996721b12baf6365300bf6f4e691260d26de.tar.gz core-012a996721b12baf6365300bf6f4e691260d26de.zip |
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.mk | 6 |
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 |