mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
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
This commit is contained in:
parent
5c89b5240c
commit
0e6a4daaeb
@ -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…
Reference in New Issue
Block a user