aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
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
commit25de0deb077ad1db2da9b0ed3ba6c0efc07a936d (patch)
tree2d8a68d6bc6330cee657fabc7ea1de5944e21f72 /Makefile.rules
parent9cec4125f92b12880692c3e4a378b792a85ea67a (diff)
downloadexternal_llvm-25de0deb077ad1db2da9b0ed3ba6c0efc07a936d.zip
external_llvm-25de0deb077ad1db2da9b0ed3ba6c0efc07a936d.tar.gz
external_llvm-25de0deb077ad1db2da9b0ed3ba6c0efc07a936d.tar.bz2
llvm-as is no longer needed here, now that opt can read assembly
files directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 29adbd8..5d1dc4b 100644
--- a/Makefile.rules
+++ b/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