ia64/xen-unstable

changeset 19014:1025a725d45b

Fix gcc make-dep cmdline options.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jan 08 13:37:16 2009 +0000 (2009-01-08)
parents 6cec460c3290
children f20e5039b168
files xen/Rules.mk
line diff
     1.1 --- a/xen/Rules.mk	Thu Jan 08 13:21:06 2009 +0000
     1.2 +++ b/xen/Rules.mk	Thu Jan 08 13:37:16 2009 +0000
     1.3 @@ -65,13 +65,13 @@ AFLAGS-y                += -D__ASSEMBLY_
     1.4  ALL_OBJS := $(ALL_OBJS-y)
     1.5  
     1.6  CFLAGS_tmp := $(strip $(CFLAGS) $(CFLAGS-y))
     1.7 -CFLAGS = $(CFLAGS_tmp) -Wp,-MD,.$(@F).d
     1.8 +CFLAGS = $(CFLAGS_tmp) -MMD -MF .$(@F).d
     1.9  
    1.10  # Most CFLAGS are safe for assembly files:
    1.11  #  -std=gnu{89,99} gets confused by #-prefixed end-of-line comments
    1.12  AFLAGS_tmp := $(strip $(AFLAGS) $(AFLAGS-y))
    1.13  AFLAGS_tmp += $(patsubst -std=gnu%,,$(CFLAGS_tmp))
    1.14 -AFLAGS = $(AFLAGS_tmp) -Wp,-MD,.$(@F).d
    1.15 +AFLAGS = $(AFLAGS_tmp) -MMD -MF .$(@F).d
    1.16  
    1.17  # LDFLAGS are only passed directly to $(LD)
    1.18  LDFLAGS  := $(strip $(LDFLAGS) $(LDFLAGS_DIRECT))