mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 22:50:55 +00:00
Make use of the LLVMGCCStdCXXLibDir variable to link objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18548 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4bdf1c9855
commit
8bcd0502a3
@ -47,18 +47,18 @@ $(ObjDir)/comp_main.bc: $(MainObj)
|
|||||||
$(Echo) Linking $(notdir $@) component...
|
$(Echo) Linking $(notdir $@) component...
|
||||||
$(Verb) $(GCCLD) -link-as-library \
|
$(Verb) $(GCCLD) -link-as-library \
|
||||||
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_main.lst \
|
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_main.lst \
|
||||||
$(MainObj) -o $@ \
|
$(MainObj) -o $@ -L$(LLVMGCCStdCXXLibDir)
|
||||||
|
|
||||||
# Generic exception handling support runtime.
|
# Generic exception handling support runtime.
|
||||||
$(ObjDir)/comp_genericeh.bc: $(GenericEHObj)
|
$(ObjDir)/comp_genericeh.bc: $(GenericEHObj)
|
||||||
$(Echo) Linking $(notdir $@) component...
|
$(Echo) Linking $(notdir $@) component...
|
||||||
$(Verb) $(GCCLD) -link-as-library \
|
$(Verb) $(GCCLD) -link-as-library \
|
||||||
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_genericeh.lst \
|
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_genericeh.lst \
|
||||||
$(GenericEHObj) -o $@
|
$(GenericEHObj) -o $@ -L$(LLVMGCCStdCXXLibDir)
|
||||||
|
|
||||||
# setjmp/longjmp exception handling support runtime.
|
# setjmp/longjmp exception handling support runtime.
|
||||||
$(ObjDir)/comp_sjljeh.bc: $(SJLJEHObj)
|
$(ObjDir)/comp_sjljeh.bc: $(SJLJEHObj)
|
||||||
$(Echo) Linking $(notdir $@) component...
|
$(Echo) Linking $(notdir $@) component...
|
||||||
$(Verb) $(GCCLD) -link-as-library \
|
$(Verb) $(GCCLD) -link-as-library \
|
||||||
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_sjljeh.lst \
|
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_sjljeh.lst \
|
||||||
$(SJLJEHObj) -o $@
|
$(SJLJEHObj) -o $@ -L$(LLVMGCCStdCXXLibDir)
|
||||||
|
Loading…
Reference in New Issue
Block a user