mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
Build _lib_crtend.a, not crtend.a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10260 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
53005b00be
commit
f168b7551c
@ -27,14 +27,14 @@ Source := $(MainSrc) $(GenericEHSrc) $(SJLJEHSrc) $(CXXEHSrc)
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
# CRTEND_A - The result of making 'all' - the final archive file.
|
||||
CRTEND_A = $(DESTLIBBYTECODE)/crtend.a
|
||||
CRTEND_A = $(DESTLIBBYTECODE)/libcrtend.a
|
||||
all:: $(CRTEND_A)
|
||||
|
||||
# Installation simply requires copying the archive to it's new home.
|
||||
$(LLVMGCCDIR)/bytecode-libs/crtend.a: $(CRTEND_A)
|
||||
$(LLVMGCCDIR)/bytecode-libs/libcrtend.a: $(CRTEND_A)
|
||||
cp $< $@
|
||||
|
||||
install:: $(LLVMGCCDIR)/bytecode-libs/crtend.a
|
||||
install:: $(LLVMGCCDIR)/bytecode-libs/libcrtend.a
|
||||
|
||||
|
||||
# The four components described in the README
|
||||
@ -42,9 +42,9 @@ Components := main genericeh sjljeh cxxeh
|
||||
ComponentLibs := $(Components:%=$(BUILD_OBJ_DIR)/BytecodeObj/comp_%.bc)
|
||||
|
||||
|
||||
# We build crtend.a from the four components described in the README.
|
||||
# We build libcrtend.a from the four components described in the README.
|
||||
$(CRTEND_A) : $(ComponentLibs)
|
||||
@echo Building final crtend.a file from components
|
||||
@echo Building final libcrtend.a file from components
|
||||
$(VERB) $(AR) $@ $(ComponentLibs)
|
||||
|
||||
MainObj := $(BUILD_OBJ_DIR)/BytecodeObj/crtend.bc \
|
||||
|
Loading…
Reference in New Issue
Block a user