mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 02:03:11 +00:00
Make use of the LLVMGCCStdCXXLibDir variable to link objects
llvm-svn: 18548
This commit is contained in:
parent
98eb4c8d05
commit
340229703b
@ -47,18 +47,18 @@ $(ObjDir)/comp_main.bc: $(MainObj)
|
||||
$(Echo) Linking $(notdir $@) component...
|
||||
$(Verb) $(GCCLD) -link-as-library \
|
||||
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_main.lst \
|
||||
$(MainObj) -o $@ \
|
||||
$(MainObj) -o $@ -L$(LLVMGCCStdCXXLibDir)
|
||||
|
||||
# Generic exception handling support runtime.
|
||||
$(ObjDir)/comp_genericeh.bc: $(GenericEHObj)
|
||||
$(Echo) Linking $(notdir $@) component...
|
||||
$(Verb) $(GCCLD) -link-as-library \
|
||||
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_genericeh.lst \
|
||||
$(GenericEHObj) -o $@
|
||||
$(GenericEHObj) -o $@ -L$(LLVMGCCStdCXXLibDir)
|
||||
|
||||
# setjmp/longjmp exception handling support runtime.
|
||||
$(ObjDir)/comp_sjljeh.bc: $(SJLJEHObj)
|
||||
$(Echo) Linking $(notdir $@) component...
|
||||
$(Verb) $(GCCLD) -link-as-library \
|
||||
-internalize-public-api-file=$(BUILD_SRC_DIR)/comp_sjljeh.lst \
|
||||
$(SJLJEHObj) -o $@
|
||||
$(SJLJEHObj) -o $@ -L$(LLVMGCCStdCXXLibDir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user