From: Anthony PERARD Date: Wed, 26 Feb 2020 16:41:37 +0000 (+0100) Subject: build: remove confusing comment on the %.s:%.S rule X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~619 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=408d50108187eb2ffc93a1fae456629acb06aef1;p=xen.git build: remove confusing comment on the %.s:%.S rule That comment was introduce by 3943db776371 ("[XEN] Can be built -std=gnu99 (except for .S files).") to explain why CFLAGS was removed from the command line. The comment is already written where the -std=gnu flags gets remove from AFLAGS, no need to repeat it. Signed-off-by: Anthony PERARD Acked-by: Wei Liu --- diff --git a/xen/Rules.mk b/xen/Rules.mk index d22a16d282..c21203351a 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -230,7 +230,6 @@ $(filter %.init.o,$(obj-y) $(obj-bin-y) $(extra-y)): %.init.o: %.o Makefile %.s: %.c Makefile $(CC) $(filter-out -Wa$(comma)%,$(CFLAGS)) -S $< -o $@ -# -std=gnu{89,99} gets confused by # as an end-of-line comment marker %.s: %.S Makefile $(CPP) $(filter-out -Wa$(comma)%,$(AFLAGS)) $< -o $@