mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
16 lines
674 B
Diff
16 lines
674 B
Diff
Significantly decrease size of bytecode-compiled binaries (and slightly
|
|
even natives).
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -52,8 +52,8 @@
|
|
CAMLYACC ?= boot/ocamlyacc
|
|
include stdlib/StdlibModules
|
|
|
|
-CAMLC=$(CAMLRUN) boot/ocamlc -g -nostdlib -I boot -use-prims byterun/primitives
|
|
-CAMLOPT=$(CAMLRUN) ./ocamlopt -g -nostdlib -I stdlib -I otherlibs/dynlink
|
|
+CAMLC=$(CAMLRUN) boot/ocamlc -nostdlib -I boot -use-prims byterun/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 \
|