[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC XEN PATCH 06/23] xen, Kbuild: filter-out -Wa, % from CFLAGS for %.i:%.c rules


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Wed, 23 Oct 2019 17:48:20 +0100
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=anthony.perard@xxxxxxxxxx; spf=Pass smtp.mailfrom=anthony.perard@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Wed, 23 Oct 2019 16:48:48 +0000
  • Ironport-sdr: uhgN+IsIj0DNv9WjgAIvyenoYBmeQvn47XmMSMt+GTovarMynXO+Z+BHE/uJEPxnJYQwxEbP8s 3H7Lw04HuuR+Z/e+5c4Gg0Y7HVMu0CTRFwQAs8cKXK1lsV04pgruul0kRnghMbxypFfosl1Ecr +V+rQhTYQNlDc6TA6uyMwghuQ1dxUJbIwiMqHeT38RebWHQGE1BQ56Gh5tdY5p5MRyiRksoFtQ +iq1ezNnnCC5oyJXJgmJqg5O+M1cAJKXsfAcyGjW5wQ54pmhVZuMQGBjSuT+y2CD/hMsNSze4l ymA=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

As it is done currently in Rules.mk.

Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 xen/scripts/Makefile.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/scripts/Makefile.build b/xen/scripts/Makefile.build
index 2f66ed388d1c..dd972d5b5edb 100644
--- a/xen/scripts/Makefile.build
+++ b/xen/scripts/Makefile.build
@@ -114,7 +114,7 @@ $(obj)/%.s: $(src)/%.c FORCE
        $(call if_changed_dep,cc_s_c)
 
 quiet_cmd_cpp_i_c = CPP $(quiet_modtag) $@
-cmd_cpp_i_c       = $(CPP) $(c_flags) -o $@ $<
+cmd_cpp_i_c       = $(CPP) $(filter-out -Wa$(comma)%,$(c_flags)) -o $@ $<
 
 $(obj)/%.i: $(src)/%.c FORCE
        $(call if_changed_dep,cpp_i_c)
-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.