aboutsummaryrefslogtreecommitdiffstats
path: root/community/ocaml/compile-without-debug-info.patch
diff options
context:
space:
mode:
authorJoe Searle <joe@jsearle.net>2019-09-22 12:43:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-05 15:35:39 +0000
commitd95a53813d93148146b793532b55873416d9af63 (patch)
tree8245d70d9d02413497eb19cbc1f2344847a33594 /community/ocaml/compile-without-debug-info.patch
parent6766d4346a5290e581f04e59715ac341c2999330 (diff)
downloadaports-d95a53813d93148146b793532b55873416d9af63.tar.bz2
aports-d95a53813d93148146b793532b55873416d9af63.tar.xz
community/ocaml: upgraded to 4.09.0
Diffstat (limited to 'community/ocaml/compile-without-debug-info.patch')
-rw-r--r--community/ocaml/compile-without-debug-info.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/community/ocaml/compile-without-debug-info.patch b/community/ocaml/compile-without-debug-info.patch
index f2b63e4b60..05bf68e4c9 100644
--- a/community/ocaml/compile-without-debug-info.patch
+++ b/community/ocaml/compile-without-debug-info.patch
@@ -2,15 +2,14 @@ Significantly decrease size of bytecode-compiled binaries (and slightly
even natives).
--- a/Makefile
+++ b/Makefile
-@@ -44,8 +44,8 @@
- CAMLRUN ?= boot/ocamlrun
+@@ -43,8 +43,8 @@
+
include stdlib/StdlibModules
--CAMLC=$(CAMLRUN) boot/ocamlc -g -nostdlib -I boot -use-prims runtime/primitives
+-CAMLC=$(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 runtime/primitives
++CAMLC=$(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 \
-
+ INCLUDES=-I utils -I parsing -I typing -I bytecomp -I file_formats \
+ -I lambda -I middle_end -I middle_end/closure \