23 lines
1.0 KiB
Diff
23 lines
1.0 KiB
Diff
--- camlspotter-camlimages-13777ef409e7/OMakefile.old 2017-08-09 11:22:20.223133043 +0100
|
|
+++ camlspotter-camlimages-13777ef409e7/OMakefile 2017-08-09 11:22:26.886132978 +0100
|
|
@@ -19,7 +19,7 @@
|
|
# For release, -warn-error should not be put
|
|
|
|
# OCAMLFLAGS= -w A-4-9-35-37-40-41-42-44-45-48
|
|
-OCAMLFLAGS= -w A-4-9-37-40-41-42-44-45-41-48-50 -unsafe-string
|
|
+OCAMLFLAGS= -w A-4-9-37-40-41-42-44-45-41-48-50 -unsafe-string -g
|
|
|
|
# For the development, -warn-error A is turned on
|
|
if $(file-exists DEV)
|
|
--- camlspotter-camlimages-13777ef409e7/OMyMakeroot.old 2017-08-09 12:38:11.026148848 +0100
|
|
+++ camlspotter-camlimages-13777ef409e7/OMyMakeroot 2017-08-09 12:38:20.812149472 +0100
|
|
@@ -133,7 +133,7 @@
|
|
OCamlMkLibC(name, files, ldflags) =
|
|
protected.COBJS=$(addsuffix .o, $(files))
|
|
dll$(name).so lib$(name).a: $(COBJS)
|
|
- $(OCAMLMKLIB) -o $(name) $(LDFLAGS) $(ldflags) $(COBJS)
|
|
+ $(OCAMLMKLIB) -g -o $(name) $(LDFLAGS) $(ldflags) $(COBJS)
|
|
return $(array dll$(name).so, lib$(name).a)
|
|
|
|
# If ocamlmklib does not work for you, you can do:
|