summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/GCCLibraries
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-05 19:15:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-05 19:15:06 +0000
commit9f1cf33a54403d25f4f068136ced53b3085d877e (patch)
tree27292377faa56603fb1d3db87edbc41ecdfdce3b /llvm/runtime/GCCLibraries
parent1014afc7ea55e37e7cfd2f00eac6170fd6e1a7e6 (diff)
downloadbcm5719-llvm-9f1cf33a54403d25f4f068136ced53b3085d877e.tar.gz
bcm5719-llvm-9f1cf33a54403d25f4f068136ced53b3085d877e.zip
Make use of the LLVMGCCStdCXXLibDir variable to link objects
llvm-svn: 18548
Diffstat (limited to 'llvm/runtime/GCCLibraries')
-rw-r--r--llvm/runtime/GCCLibraries/crtend/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/runtime/GCCLibraries/crtend/Makefile b/llvm/runtime/GCCLibraries/crtend/Makefile
index a65ddc41a24..be7b93e5a05 100644
--- a/llvm/runtime/GCCLibraries/crtend/Makefile
+++ b/llvm/runtime/GCCLibraries/crtend/Makefile
@@ -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)
OpenPOWER on IntegriCloud