aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-05-30 15:50:31 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-05-30 15:50:31 +0000
commit794fcd2ef8b8155faab218584ca46801d75c0161 (patch)
treef77ddc83df0d03dd4f42ecdd000fd73d0587ae81 /Makefile.common
parent6074d2f37abaaa2957b4575d36fd9cd87d8ee08f (diff)
Added configurable options for the Linker and Archiver.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index c13ca250b0..0197af2226 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -234,7 +234,7 @@ endif
# Create one .o file from a bunch of .o files...
-Relink = ld -r
+Relink = ${LD} -r
# MakeSO - Create a .so file from a .o files...
MakeSO := $(CXX) $(MakeSharedObjectOption)
@@ -246,7 +246,7 @@ Depend := $(CXX) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS)
DependC := $(CC) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS)
# Archive a bunch of .o files into a .a file...
-AR = ar cq
+AR = ${AR_PATH} cq
#----------------------------------------------------------