From: rich Date: Wed, 1 Dec 2004 12:41:29 +0000 (+0000) Subject: -fPIC patch from John Goerzen. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=880dac50cbd209dd3aa0fd22d77cd66e655a8099;p=perl4caml.git -fPIC patch from John Goerzen. --- diff --git a/Makefile b/Makefile index 3766908..8601df8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Interface to Perl from OCaml. # Copyright (C) 2003 Merjis Ltd. -# $Id: Makefile,v 1.25 2004-11-26 13:33:10 rich Exp $ +# $Id: Makefile,v 1.26 2004-12-01 12:41:29 rich Exp $ include Makefile.config @@ -17,7 +17,7 @@ OCAMLCFLAGS := -w s -g $(OCAMLCINCS) OCAMLOPTFLAGS := -w s $(OCAMLOPTINCS) CC := gcc -CFLAGS := -Wall -Wno-unused -I$(PERLINCDIR) $(EXTRA_CFLAGS) +CFLAGS := -fPIC -Wall -Wno-unused -I$(PERLINCDIR) $(EXTRA_CFLAGS) LIBPERL := $(shell perl -MExtUtils::Embed -e ldopts)