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 <anthony.perard@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
%.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 $@