diff options
author | Tuan Hoang <tmhoang@linux.ibm.com> | 2019-11-22 13:08:04 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-22 14:16:59 +0000 |
commit | 6f58e167f1865920a5d21859555b905ec1b2cec3 (patch) | |
tree | 9d76f17d44ca4d3e28e174a89bf2fbf04bcce1ee /community/ocaml/compile-without-debug-info.patch | |
parent | cc60d59176ab62228f57df6cc21a66c8b9674980 (diff) | |
download | aports-6f58e167f1865920a5d21859555b905ec1b2cec3.tar.bz2 aports-6f58e167f1865920a5d21859555b905ec1b2cec3.tar.xz |
Revert "community/ocaml: upgraded to 4.09.0"
This reverts commit d95a53813d93148146b793532b55873416d9af63.
ocaml-camlp4 latest/final version is 4.08 which does not work with ocaml 4.09.
It is better if we keep ocaml 4.08 for 3.11 release and deal with ocaml-camlp4
after release.
$ apk add ocaml-camlp4
ERROR: unsatisfiable constraints:
ocaml-runtime-4.09.0-r0:
breaks: ocaml-camlp4-4.08.1-r0[ocaml-runtime~4.08]
Diffstat (limited to 'community/ocaml/compile-without-debug-info.patch')
-rw-r--r-- | community/ocaml/compile-without-debug-info.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/community/ocaml/compile-without-debug-info.patch b/community/ocaml/compile-without-debug-info.patch index 05bf68e4c9..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 -@@ -43,8 +43,8 @@ - +@@ -44,8 +44,8 @@ + CAMLRUN ?= boot/ocamlrun include stdlib/StdlibModules --CAMLC=$(BOOT_OCAMLC) -g -nostdlib -I boot -use-prims runtime/primitives +-CAMLC=$(CAMLRUN) boot/ocamlc -g -nostdlib -I boot -use-prims runtime/primitives -CAMLOPT=$(CAMLRUN) ./ocamlopt -g -nostdlib -I stdlib -I otherlibs/dynlink -+CAMLC=$(BOOT_OCAMLC) -nostdlib -I boot -use-prims runtime/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 file_formats \ - -I lambda -I middle_end -I middle_end/closure \ + INCLUDES=-I utils -I parsing -I typing -I bytecomp -I middle_end \ + -I middle_end/base_types -I asmcomp -I asmcomp/debug \ + |