From: Peter Zotov Date: Mon, 3 Nov 2014 09:51:28 +0000 (+0000) Subject: [OCaml] Don't build stub libraries twice. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=29e82393abf3d8f578c6719af03b596858761a4f;hp=95a8dca3dbab8f099dceac31145e81c5839cace1 [OCaml] Don't build stub libraries twice. The default Makefile.rules BUILD_ARCHIVE machinery was unintentionally enabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 1bd14e9486f..1d2eff5ec7f 100644 --- a/bindings/ocaml/Makefile.ocaml +++ b/bindings/ocaml/Makefile.ocaml @@ -19,6 +19,9 @@ include $(LEVEL)/Makefile.config +# We have our own rules for building static libraries. +NO_BUILD_ARCHIVE = 1 + # CFLAGS needs to be set before Makefile.rules is included. CXX.Flags += -I"$(shell $(OCAMLFIND) c -where)" C.Flags += -I"$(shell $(OCAMLFIND) c -where)"