git.annexia.org
/
ocaml-augeas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ef335
)
build: build with CAML_NAME_SPACE
author
Pino Toscano
<ptoscano@redhat.com>
Wed, 29 May 2019 09:48:47 +0000
(11:48 +0200)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 29 May 2019 09:55:36 +0000
(10:55 +0100)
This way no non-namespaced OCaml C symbols are used, reducing the risk
of clashes with other code.
Makefile.in
patch
|
blob
|
history
diff --git
a/Makefile.in
b/Makefile.in
index
8864725
..
e01385f
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-27,6
+27,7
@@
INSTALL = @INSTALL@
CC = @CC@
CFLAGS = @CFLAGS@ @AUGEAS_CFLAGS@ @LIBXML2_CFLAGS@ \
+ -DCAML_NAME_SPACE \
-fPIC -I$(shell ocamlc -where) -Wall -Werror
LDFLAGS = @LDFLAGS@
LIBS = @AUGEAS_LIBS@ @LIBXML2_LIBS@ @LIBS@