mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-24 14:33:40 +00:00
llvm-as is no longer needed here, now that opt can read assembly
files directly. llvm-svn: 81222
This commit is contained in:
parent
cdaa08e706
commit
ac3bbe614d
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user