]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
build: remove use of AFLAGS-y
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 26 Feb 2020 16:41:53 +0000 (17:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 Feb 2020 16:41:53 +0000 (17:41 +0100)
And simply add directly to AFLAGS.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/Rules.mk

index c21203351a9f3898653056ebb57d603a3a4b5c7f..154269bfd96ceba3b8def2b6b83aee5226a82b3a 100644 (file)
@@ -71,7 +71,7 @@ ifneq ($(CONFIG_CC_IS_CLANG),y)
 CFLAGS += -Wa,--strip-local-absolute
 endif
 
-AFLAGS-y                += -D__ASSEMBLY__
+AFLAGS += -D__ASSEMBLY__
 
 ALL_OBJS := $(ALL_OBJS-y)
 
@@ -85,7 +85,7 @@ CFLAGS += $(EXTRA_CFLAGS_XEN_CORE)
 # Most CFLAGS are safe for assembly files:
 #  -std=gnu{89,99} gets confused by #-prefixed end-of-line comments
 #  -flto makes no sense and annoys clang
-AFLAGS += $(AFLAGS-y) $(filter-out -std=gnu% -flto,$(CFLAGS))
+AFLAGS += $(filter-out -std=gnu% -flto,$(CFLAGS))
 
 # LDFLAGS are only passed directly to $(LD)
 LDFLAGS += $(LDFLAGS_DIRECT)