Missing -nostdlib options in flexdll bootstrap
If OCaml was already installed, camlheader would be used from the installation when building the bytecode flexdll/flexlink.exemaster
parent
53d0cf6d3d
commit
627608a00a
5
Makefile
5
Makefile
|
@ -502,7 +502,7 @@ flexlink: flexdll/Makefile
|
|||
cd stdlib && cp stdlib.cma std_exit.cmo *.cmi ../boot
|
||||
$(MAKE) -C flexdll MSVC_DETECT=0 OCAML_CONFIG_FILE=../Makefile.config \
|
||||
CHAINS=$(FLEXDLL_CHAIN) NATDYNLINK=false \
|
||||
OCAMLOPT="../boot/ocamlrun ../boot/ocamlc -I ../boot" \
|
||||
OCAMLOPT="../boot/ocamlrun ../boot/ocamlc -nostdlib -I ../boot" \
|
||||
flexlink.exe
|
||||
$(MAKE) -C runtime clean
|
||||
$(MAKE) partialclean
|
||||
|
@ -513,7 +513,8 @@ flexlink.opt:
|
|||
mv flexlink.exe flexlink && \
|
||||
($(MAKE) OCAML_FLEXLINK="../boot/ocamlrun ./flexlink" MSVC_DETECT=0 \
|
||||
OCAML_CONFIG_FILE=../Makefile.config \
|
||||
OCAMLOPT="../ocamlopt.opt -I ../stdlib" flexlink.exe || \
|
||||
OCAMLOPT="../ocamlopt.opt -nostdlib -I ../stdlib" \
|
||||
flexlink.exe || \
|
||||
(mv flexlink flexlink.exe && false)) && \
|
||||
mv flexlink.exe flexlink.opt && \
|
||||
mv flexlink flexlink.exe
|
||||
|
|
Loading…
Reference in New Issue