summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a30b0ee)
caml/*.h headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42599
91177308-0d34-0410-b5e6-
96231b3b80d8
include $(LEVEL)/Makefile.config
include $(LEVEL)/Makefile.config
-# CFLAGS needs to be set before Makefile.rules is included. Yes, ocaml puts its
-# includes under its libdir.
-CFLAGS += -I$(OCAML_LIBDIR)
+# CFLAGS needs to be set before Makefile.rules is included.
+CFLAGS += -I$(shell $(OCAMLC) -where)
include $(LEVEL)/Makefile.common
include $(LEVEL)/Makefile.common