aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ocaml
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/ocaml
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/ocaml')
-rw-r--r--tools/ocaml/Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ocaml/Makefile.rules b/tools/ocaml/Makefile.rules
index b669764fe6..bbd22e881d 100644
--- a/tools/ocaml/Makefile.rules
+++ b/tools/ocaml/Makefile.rules
@@ -84,7 +84,7 @@ endef
define C_PROGRAM_template
$(1): $(foreach obj,$($(1)_OBJS),$(obj).o)
- $(call quiet-command, $(CC) $(CFLAGS) -o $$@ $$+,BIN,$$@)
+ $(call quiet-command, $(CC) $(LDFLAGS) -o $$@ $$+,BIN,$$@)
endef
-include .ocamldep.make