capture implicit uses and defs in CodeGenInstruction
[oota-llvm.git] / utils / buildit / GNUmakefile
index e3b334a045d1a0ac3e8ffd4cf8336f69a80b1681..8d8504c39b5cb8c4e2908427fab5d02023269f4c 100644 (file)
@@ -35,10 +35,8 @@ DSTROOT = $(OBJROOT)/../dst
 PREFIX = /usr/local
 
 # Unless assertions are forced on in the GMAKE command line, disable them.
-ifdef ENABLE_ASSERTIONS
-LLVM_ASSERTIONS := yes
-else
-LLVM_ASSERTIONS := no
+ifndef ENABLE_ASSERTIONS
+ENABLE_ASSERTIONS := no
 endif
 
 # Default is optimized build.
@@ -59,9 +57,9 @@ endif
 # NOTE : Always put version numbers at the end because they are optional.
 install: $(OBJROOT) $(SYMROOT) $(DSTROOT)
        cd $(OBJROOT) && \
-         $(SRC)/build_llvm "$(RC_ARCHS)" "$(TARGETS)" \
+         $(SRC)/utils/buildit/build_llvm "$(RC_ARCHS)" "$(TARGETS)" \
            $(SRC) $(PREFIX) $(DSTROOT) $(SYMROOT) \
-           $(LLVM_ASSERTIONS) $(LLVM_OPTIMIZED) \
+           $(ENABLE_ASSERTIONS) $(LLVM_OPTIMIZED) \
            $(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion)