mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[OCaml] Enable -g for debug builds.
We don't care about pre-3.12.1 anymore. llvm-svn: 220767
This commit is contained in:
parent
41625b6878
commit
da5425e252
@ -69,10 +69,9 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \
|
||||
endif
|
||||
endif
|
||||
|
||||
# -g was introduced in 3.10.0.
|
||||
#ifneq ($(ENABLE_OPTIMIZED),1)
|
||||
# OCAMLDEBUGFLAG := -g
|
||||
#endif
|
||||
ifneq ($(ENABLE_OPTIMIZED),1)
|
||||
OCAMLDEBUGFLAG := -g
|
||||
endif
|
||||
|
||||
Compile.CMI := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) $(OCAMLDEBUGFLAG) -o)
|
||||
Compile.CMO := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) $(OCAMLDEBUGFLAG) -o)
|
||||
|
Loading…
Reference in New Issue
Block a user