25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
|
diff -ur camlspotter-camlimages-8ca76028cff3.old/OMakefile camlspotter-camlimages-8ca76028cff3/OMakefile
|
||
|
--- camlspotter-camlimages-8ca76028cff3.old/OMakefile 2017-11-20 10:50:59.000000000 +0000
|
||
|
+++ camlspotter-camlimages-8ca76028cff3/OMakefile 2017-11-22 14:19:46.903902025 +0000
|
||
|
@@ -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-3-4-9-37-40-41-42-44-45-41-48-50 -safe-string
|
||
|
+OCAMLFLAGS= -w A-3-4-9-37-40-41-42-44-45-41-48-50 -safe-string -g
|
||
|
|
||
|
# For the development, -warn-error A is turned on
|
||
|
if $(file-exists DEV)
|
||
|
diff -ur camlspotter-camlimages-8ca76028cff3.old/OMyMakeroot camlspotter-camlimages-8ca76028cff3/OMyMakeroot
|
||
|
--- camlspotter-camlimages-8ca76028cff3.old/OMyMakeroot 2017-11-20 10:50:59.000000000 +0000
|
||
|
+++ camlspotter-camlimages-8ca76028cff3/OMyMakeroot 2017-11-22 14:19:32.461902772 +0000
|
||
|
@@ -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:
|