aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-03-31 19:32:18 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-03-31 19:32:18 +0100
commit61d0fe74c6d60cd184afdf4f4566f421c90816ce (patch)
tree3ae90a25680d4a4e591dd3448abc69419ccb3e05 /tools/libxen
parent75c300588b4bc675d9fb2f64e9ec956d808e4992 (diff)
downloadxen-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/libxen')
-rw-r--r--tools/libxen/Makefile2
-rw-r--r--tools/libxen/Makefile.dist2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxen/Makefile b/tools/libxen/Makefile
index 1996b98142..27a6d2e763 100644
--- a/tools/libxen/Makefile
+++ b/tools/libxen/Makefile
@@ -44,7 +44,7 @@ libxenapi.so.$(MAJOR): libxenapi.so.$(MAJOR).$(MINOR)
ln -sf $< $@
libxenapi.so.$(MAJOR).$(MINOR): $(LIBXENAPI_OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenapi.so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenapi.so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $^
libxenapi.a: $(LIBXENAPI_OBJS)
$(AR) rcs libxenapi.a $^
diff --git a/tools/libxen/Makefile.dist b/tools/libxen/Makefile.dist
index 33ca44848c..70883629b8 100644
--- a/tools/libxen/Makefile.dist
+++ b/tools/libxen/Makefile.dist
@@ -54,7 +54,7 @@ libxenapi.so.$(MAJOR): libxenapi.so.$(MAJOR).$(MINOR)
ln -sf $< $@
libxenapi.so.$(MAJOR).$(MINOR): $(LIBXENAPI_OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenapi.so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenapi.so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $^
libxenapi.a: $(LIBXENAPI_OBJS)
$(AR) rcs libxenapi.a $^