diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-03-31 19:32:18 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-03-31 19:32:18 +0100 |
commit | 61d0fe74c6d60cd184afdf4f4566f421c90816ce (patch) | |
tree | 3ae90a25680d4a4e591dd3448abc69419ccb3e05 /tools/xenpmd | |
parent | 75c300588b4bc675d9fb2f64e9ec956d808e4992 (diff) | |
download | xen-61d0fe74c6d60cd184afdf4f4566f421c90816ce.tar.gz xen-61d0fe74c6d60cd184afdf4f4566f421c90816ce.tar.bz2 xen-61d0fe74c6d60cd184afdf4f4566f421c90816ce.zip |
tools: Remove $(CFLAGS) from links lines.
The relevant variable in these circumstances is called $(LDFLAGS).
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>
Diffstat (limited to 'tools/xenpmd')
-rw-r--r-- | tools/xenpmd/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/xenpmd/Makefile b/tools/xenpmd/Makefile index 2a9249cb96..0743c8c04d 100644 --- a/tools/xenpmd/Makefile +++ b/tools/xenpmd/Makefile @@ -1,8 +1,9 @@ XEN_ROOT=$(CURDIR)/../.. include $(XEN_ROOT)/tools/Rules.mk -CFLAGS += -Werror -CFLAGS += $(CFLAGS_libxenstore) +CFLAGS += -Werror +CFLAGS += $(CFLAGS_libxenstore) + LDLIBS += $(LDLIBS_libxenstore) BIN = xenpmd @@ -19,7 +20,7 @@ install: all clean: $(RM) -f $(BIN) $(DEPS) -%: %.c Makefile - $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LDLIBS) +%: %.o Makefile + $(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) -include $(DEPS) |