summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-01-06 21:54:35 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-01-06 21:54:35 +0000
commit9e7aba2739fb3edb3ddcf04c5d36c7c1cccb0581 (patch)
tree1f93e2efb67bb3aef4d2d6dcf36a61964b5f2f86 /bindings
parenta31d1d7aea6db0f72b9dfb14fbf4f56c0dcaba84 (diff)
downloadllvm-9e7aba2739fb3edb3ddcf04c5d36c7c1cccb0581.tar.gz
llvm-9e7aba2739fb3edb3ddcf04c5d36c7c1cccb0581.tar.bz2
llvm-9e7aba2739fb3edb3ddcf04c5d36c7c1cccb0581.tar.xz
Modify Makefile.rules to allow makefiles to prepend to C.Flags and
fiends. Change Makefile.ocaml to not touch CFLAGS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r--bindings/ocaml/Makefile.ocaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml
index 15edb01ff3..6fc9a9a7d8 100644
--- a/bindings/ocaml/Makefile.ocaml
+++ b/bindings/ocaml/Makefile.ocaml
@@ -20,7 +20,8 @@
include $(LEVEL)/Makefile.config
# CFLAGS needs to be set before Makefile.rules is included.
-CFLAGS += -I"$(shell $(OCAMLC) -where)"
+CXX.Flags += -I"$(shell $(OCAMLC) -where)"
+C.Flags += -I"$(shell $(OCAMLC) -where)"
include $(LEVEL)/Makefile.common