From: Richard W.M. Jones Date: Sat, 18 Nov 2017 12:01:49 +0000 (+0000) Subject: Link with -fPIC runtime. X-Git-Tag: v1.0.9~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=18a751d8c26548bb090ff05e30ccda3092e3373b;p=virt-top.git Link with -fPIC runtime. --- diff --git a/src/Makefile.in b/src/Makefile.in index 6a13bef..03c6362 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -84,11 +84,14 @@ all: $(BYTE_TARGETS) opt: $(OPT_TARGETS) virt-top: $(OBJS) - ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) -o $@ $^ + ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \ + -runtime-variant _pic \ + -o $@ $^ virt-top.opt: $(XOBJS) ocamlfind ocamlopt \ $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ + -runtime-variant _pic \ -o $@ $^ # Manual page.