Build otherlibs with debug info in C stubs
parent
ba2b98608a
commit
a741f25803
3
Changes
3
Changes
|
@ -292,6 +292,9 @@ Working version
|
|||
to avoid C dependency recomputation.
|
||||
(Gabriel Scherer, review by David Allsopp)
|
||||
|
||||
- #9804: Build C stubs of libraries in otherlibs/ with debug info.
|
||||
(Stephen Dolan, review by Sébastien Hinderer and David Allsopp)
|
||||
|
||||
### Bug fixes:
|
||||
|
||||
- #7902, #9556: Type-checker infers recursive type, even though -rectypes is
|
||||
|
|
|
@ -24,6 +24,10 @@ CAMLRUN ?= $(ROOTDIR)/boot/ocamlrun
|
|||
CAMLC := $(BEST_OCAMLC) -nostdlib -I $(ROOTDIR)/stdlib
|
||||
CAMLOPT := $(BEST_OCAMLOPT) -nostdlib -I $(ROOTDIR)/stdlib
|
||||
|
||||
ifneq "$(CCOMPTYPE)" "msvc"
|
||||
OC_CFLAGS += -g
|
||||
endif
|
||||
|
||||
OC_CFLAGS += $(SHAREDLIB_CFLAGS) $(EXTRACFLAGS)
|
||||
OC_CPPFLAGS += -I$(ROOTDIR)/runtime $(EXTRACPPFLAGS)
|
||||
|
||||
|
|
|
@ -18,6 +18,10 @@ ROOTDIR=../..
|
|||
include $(ROOTDIR)/Makefile.common
|
||||
include $(ROOTDIR)/Makefile.best_binaries
|
||||
|
||||
ifneq "$(CCOMPTYPE)" "msvc"
|
||||
OC_CFLAGS += -g
|
||||
endif
|
||||
|
||||
OC_CFLAGS += $(SHAREDLIB_CFLAGS)
|
||||
|
||||
OC_CPPFLAGS += -I$(ROOTDIR)/runtime
|
||||
|
|
Loading…
Reference in New Issue