mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
Disabling -g for ocaml builds; it's not downwards compatible.
llvm-svn: 45352
This commit is contained in:
parent
c0a3899bbf
commit
653a9e4c7f
@ -42,9 +42,10 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \
|
||||
$(shell $(LLVM_CONFIG) --ldflags)) \
|
||||
$(UsedLibs))
|
||||
|
||||
ifneq ($(ENABLE_OPTIMIZED),1)
|
||||
OCAMLDEBUGFLAG := -g
|
||||
endif
|
||||
# -g was introduced in 3.10.0.
|
||||
#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