19025:
bd78714b8594 switched to "-MMD -MF" in preference, adding the
correct runes to tools/Rules.mk but appears to have missed some other
uses of -Wp,...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
# get asprintf():
CFLAGS += -D _GNU_SOURCE
-# Get gcc to generate the dependencies for us.
-CFLAGS += -Wp,-MD,.$(@F).d
-DEPS = .*.d
-
OBJS = $(SRCS:.c=.o)
OBJS_PIC = $(SRCS:.c=.opic)
IBINS :=
CFLAGS += -D_GNU_SOURCE
CFLAGS += -DTAPCTL
-# Get gcc to generate the dependencies for us.
-CFLAGS += -Wp,-MD,.$(@F).d
-DEPS = .*.d
-
CTL_OBJS := tap-ctl-ipc.o
CTL_OBJS += tap-ctl-list.o
CTL_OBJS += tap-ctl-allocate.o
CFLAGS += -fPIC
endif
-# Get gcc to generate the dependencies for us.
-CFLAGS += -Wp,-MD,.$(@F).d
-DEPS = .*.d
-
LVM-OBJS := lvm-util.o
all: build
LIBS := -Llib -lvhd
-# Get gcc to generate the dependencies for us.
-CFLAGS += -Wp,-MD,.$(@F).d
-DEPS = .*.d
-
all: subdirs-all build
build: $(IBIN)
LIBS := -luuid
endif
-# Get gcc to generate the dependencies for us.
-CFLAGS += -Wp,-MD,.$(@F).d
-DEPS = .*.d
-
LIB-SRCS := libvhd.c
LIB-SRCS += libvhd-journal.c
LIB-SRCS += vhd-util-coalesce.c
CFLAGS += -fno-strict-aliasing
CFLAGS += -I./include $(CFLAGS_libxenctrl) $(CFLAGS_xeninclude)
-# Get gcc to generate the dependencies for us.
-CFLAGS += -Wp,-MD,.$(@F).d
-
LIB_OBJS := $(patsubst %.c,%.o,$(SRCS))
PIC_OBJS := $(patsubst %.c,%.opic,$(SRCS))
CFLAGS += -fPIC
CFLAGS += -g
-# Get gcc to generate the dependencies for us.
-CFLAGS += -Wp,-MD,.$(@F).d
-DEPS = .*.d
-
LIB-SRCS := interface.c
LIB-SRCS += shm.c
LIB-SRCS += bidir-daemon.c
CFLAGS += -Wno-unused
CFLAGS += -g
-CFLAGS += -Wp,-MD,.$(@F).d
-DEPS = .*.d
-
OBJS = $(SRCS:.c=.o)
IBINS = xenpaging