From: Richard W.M. Jones Date: Sat, 18 Nov 2017 12:01:49 +0000 (+0000) Subject: Link with -fPIC runtime. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=2afed7fe878bee73fabab0b1f43aac269bdb3b6a;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.