summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 15:52:56 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 15:52:56 +0000
commit40d204fc8317b6bdaa64ab01b6d93aff2dae1c44 (patch)
treecd7f55af52cb546da78ec0b2a822281f3aa1cfa4
parent3ddbc242fb75acea7df2d8525810b5449a31d6d7 (diff)
downloadbcm5719-llvm-40d204fc8317b6bdaa64ab01b6d93aff2dae1c44.tar.gz
bcm5719-llvm-40d204fc8317b6bdaa64ab01b6d93aff2dae1c44.zip
llvm-as is no longer needed here, now that opt can read assembly
files directly. llvm-svn: 81222
-rw-r--r--llvm/Makefile.rules9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 29adbd8f6af..5d1dc4b9723 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -1368,14 +1368,13 @@ $(ObjDir)/%.s: %.c $(ObjDir)/.dir $(BUILT_SOURCES)
# make the C and C++ compilers strip debug info out of bytecode libraries.
ifdef DEBUG_RUNTIME
-$(ObjectsBC): $(ObjDir)/%.bc: $(ObjDir)/%.ll $(LLVMAS) $(LOPT)
+$(ObjectsBC): $(ObjDir)/%.bc: $(ObjDir)/%.ll $(LOPT)
$(Echo) "Compiling $*.ll to $*.bc for $(BuildMode) build (bytecode)"
- $(Verb) $(LLVMAS) $< -o - | $(LOPT) -std-compile-opts -o $@
+ $(Verb) $(LOPT) $< -std-compile-opts -o $@
else
-$(ObjectsBC): $(ObjDir)/%.bc: $(ObjDir)/%.ll $(LLVMAS) $(LOPT)
+$(ObjectsBC): $(ObjDir)/%.bc: $(ObjDir)/%.ll $(LOPT)
$(Echo) "Compiling $*.ll to $*.bc for $(BuildMode) build (bytecode)"
- $(Verb) $(LLVMAS) $< -o - | \
- $(LOPT) -std-compile-opts -strip-debug -o $@
+ $(Verb) $(LOPT) $< -std-compile-opts -strip-debug -o $@
endif
OpenPOWER on IntegriCloud