Merge pull request #9804 from stedolan/otherlibs-debug
Build otherlibs with debug info in C stubsmaster
commit
a7ecba9045
3
Changes
3
Changes
|
@ -308,6 +308,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