From: Anthony PERARD Date: Wed, 26 Feb 2020 16:41:53 +0000 (+0100) Subject: build: remove use of AFLAGS-y X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a2c277b64c2a8a3ce3709d226aa1360be5f64c3b;p=people%2Fdwmw2%2Fxen.git build: remove use of AFLAGS-y And simply add directly to AFLAGS. Signed-off-by: Anthony PERARD Acked-by: Jan Beulich --- diff --git a/xen/Rules.mk b/xen/Rules.mk index c21203351a..154269bfd9 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -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)