summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/GCCLibraries/crtend/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/GCCLibraries/crtend/Makefile b/runtime/GCCLibraries/crtend/Makefile
index a65ddc41a2..be7b93e5a0 100644
--- a/runtime/GCCLibraries/crtend/Makefile
+++ b/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)