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/xenstat/libxenstat | |
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/xenstat/libxenstat')
-rw-r--r-- | tools/xenstat/libxenstat/Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile index b670ced094..02e800b0c6 100644 --- a/tools/xenstat/libxenstat/Makefile +++ b/tools/xenstat/libxenstat/Makefile @@ -50,18 +50,9 @@ $(LIB): $(OBJECTS-y) $(RANLIB) $@ $(SHLIB): $(OBJECTS-y) - $(CC) $(CFLAGS) $(LDFLAGS) $(SONAME_FLAGS) $(SHLIB_LDFLAGS) -o $@ \ + $(CC) $(LDFLAGS) $(SONAME_FLAGS) $(SHLIB_LDFLAGS) -o $@ \ $(OBJECTS-y) $(LDLIBS-y) -src/xenstat.o: src/xenstat.c src/xenstat.h src/xenstat_priv.h - $(CC) $(CFLAGS) $(WARN_FLAGS) -c -o $@ $< - -src/xenstat_linux.o: src/xenstat_linux.c src/xenstat_priv.h - $(CC) $(CFLAGS) $(WARN_FLAGS) -c -o $@ $< - -src/xenstat_solaris.o: src/xenstat_solaris.c src/xenstat_priv.h - $(CC) $(CFLAGS) $(WARN_FLAGS) -c -o $@ $< - src/libxenstat.so.$(MAJOR): $(SHLIB) $(MAKE_LINK) $(<F) $@ |