From 9697a74d65c2521926e8aeeb990558e79ffbd441 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 12 Nov 2017 19:27:35 +0100 Subject: [PATCH] ocaml: enable PIE. --- srcpkgs/ocaml/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ocaml/template b/srcpkgs/ocaml/template index 7a52c5392d9..caed2c1e5dc 100644 --- a/srcpkgs/ocaml/template +++ b/srcpkgs/ocaml/template @@ -1,7 +1,7 @@ # Template file for 'ocaml' pkgname=ocaml version=4.05.0 -revision=1 +revision=2 makedepends="ncurses-devel libX11-devel" short_desc="The main implementation of the Caml language" maintainer="Leah Neukirchen " @@ -10,11 +10,10 @@ license="QPL-1, LGPL-2" distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz" checksum=e5d8a6f629020c580473d8afcfcb06c3966d01929f7b734f41dc0c737cd8ea3f nocross=yes -nopie=yes disable_parallel_build=yes do_configure() { - ./configure -prefix /usr -mandir /usr/share/man + ./configure -prefix /usr -mandir /usr/share/man -fPIC } do_build() { make ${makejobs} world.opt