]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
build: remove confusing comment on the %.s:%.S rule
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 26 Feb 2020 16:41:37 +0000 (17:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 Feb 2020 16:41:37 +0000 (17:41 +0100)
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>
xen/Rules.mk

index d22a16d282828ac0001448a8dc770c1dab767b5e..c21203351a9f3898653056ebb57d603a3a4b5c7f 100644 (file)
@@ -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 $@