[llvm] r221138 - [OCaml] Don't build stub libraries twice.
    Peter Zotov 
    whitequark at whitequark.org
       
    Mon Nov  3 01:51:29 PST 2014
    
    
  
Author: whitequark
Date: Mon Nov  3 03:51:28 2014
New Revision: 221138
URL: http://llvm.org/viewvc/llvm-project?rev=221138&view=rev
Log:
[OCaml] Don't build stub libraries twice.
The default Makefile.rules BUILD_ARCHIVE machinery was
unintentionally enabled.
Modified:
    llvm/trunk/bindings/ocaml/Makefile.ocaml
Modified: llvm/trunk/bindings/ocaml/Makefile.ocaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/Makefile.ocaml?rev=221138&r1=221137&r2=221138&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/Makefile.ocaml (original)
+++ llvm/trunk/bindings/ocaml/Makefile.ocaml Mon Nov  3 03:51:28 2014
@@ -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)"
    
    
More information about the llvm-commits
mailing list