From f37c80a85d4121a74600479cc7064a855b83bcd6 Mon Sep 17 00:00:00 2001 From: Pedro Filipe Date: Tue, 16 Jul 2019 15:19:58 -0300 Subject: community/ocaml: update to 4.08.0 Fixes https://gitlab.alpinelinux.org/alpine/aports/issues/10583 --- community/ocaml/compile-without-debug-info.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'community/ocaml/compile-without-debug-info.patch') diff --git a/community/ocaml/compile-without-debug-info.patch b/community/ocaml/compile-without-debug-info.patch index 06b0eda820..f2b63e4b60 100644 --- a/community/ocaml/compile-without-debug-info.patch +++ b/community/ocaml/compile-without-debug-info.patch @@ -2,14 +2,15 @@ Significantly decrease size of bytecode-compiled binaries (and slightly even natives). --- a/Makefile +++ b/Makefile -@@ -52,8 +52,8 @@ - CAMLYACC ?= boot/ocamlyacc +@@ -44,8 +44,8 @@ + CAMLRUN ?= boot/ocamlrun include stdlib/StdlibModules --CAMLC=$(CAMLRUN) boot/ocamlc -g -nostdlib -I boot -use-prims byterun/primitives +-CAMLC=$(CAMLRUN) boot/ocamlc -g -nostdlib -I boot -use-prims runtime/primitives -CAMLOPT=$(CAMLRUN) ./ocamlopt -g -nostdlib -I stdlib -I otherlibs/dynlink -+CAMLC=$(CAMLRUN) boot/ocamlc -nostdlib -I boot -use-prims byterun/primitives ++CAMLC=$(CAMLRUN) boot/ocamlc -nostdlib -I boot -use-prims runtime/primitives +CAMLOPT=$(CAMLRUN) ./ocamlopt -nostdlib -I stdlib -I otherlibs/dynlink ARCHES=amd64 i386 arm arm64 power s390x INCLUDES=-I utils -I parsing -I typing -I bytecomp -I middle_end \ -I middle_end/base_types -I asmcomp -I asmcomp/debug \ + -- cgit v1.2.3