mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
15 lines
627 B
Diff
15 lines
627 B
Diff
Significantly decrease size of bytecode-compiled binaries (and slightly
|
|
even natives).
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -43,8 +43,8 @@
|
|
|
|
include stdlib/StdlibModules
|
|
|
|
-CAMLC=$(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
|
|
+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 \
|