From: Keir Fraser Date: Thu, 8 Jan 2009 13:37:16 +0000 (+0000) Subject: Fix gcc make-dep cmdline options. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14014^2~91 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5381a090a1bddc6488a041e14fa828bada6e58a6;p=xen.git Fix gcc make-dep cmdline options. Signed-off-by: Keir Fraser --- diff --git a/xen/Rules.mk b/xen/Rules.mk index edee660175..37da124f3d 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -65,13 +65,13 @@ AFLAGS-y += -D__ASSEMBLY__ ALL_OBJS := $(ALL_OBJS-y) CFLAGS_tmp := $(strip $(CFLAGS) $(CFLAGS-y)) -CFLAGS = $(CFLAGS_tmp) -Wp,-MD,.$(@F).d +CFLAGS = $(CFLAGS_tmp) -MMD -MF .$(@F).d # Most CFLAGS are safe for assembly files: # -std=gnu{89,99} gets confused by #-prefixed end-of-line comments AFLAGS_tmp := $(strip $(AFLAGS) $(AFLAGS-y)) AFLAGS_tmp += $(patsubst -std=gnu%,,$(CFLAGS_tmp)) -AFLAGS = $(AFLAGS_tmp) -Wp,-MD,.$(@F).d +AFLAGS = $(AFLAGS_tmp) -MMD -MF .$(@F).d # LDFLAGS are only passed directly to $(LD) LDFLAGS := $(strip $(LDFLAGS) $(LDFLAGS_DIRECT))