git.annexia.org
/
ocaml-ancient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to build with new OCaml 3.11 and above.
[ocaml-ancient.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
41c3cee
..
5eda549
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-6,7
+6,8
@@
include Makefile.config
CC := gcc
CFLAGS := -g -fPIC -Wall -Werror \
-DOCAML_VERSION_MAJOR=$(OCAML_VERSION_MAJOR) \
CC := gcc
CFLAGS := -g -fPIC -Wall -Werror \
-DOCAML_VERSION_MAJOR=$(OCAML_VERSION_MAJOR) \
- -DOCAML_VERSION_MINOR=$(OCAML_VERSION_MINOR)
+ -DOCAML_VERSION_MINOR=$(OCAML_VERSION_MINOR) \
+ -I$(shell ocamlc -where)
OCAMLCFLAGS := -g
OCAMLCPACKAGES := -package unix
OCAMLCFLAGS := -g
OCAMLCPACKAGES := -package unix