mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
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
This commit is contained in:
parent
6074d2f37a
commit
794fcd2ef8
@ -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
|
||||
|
||||
#----------------------------------------------------------
|
||||
|
||||
|
@ -18,6 +18,16 @@ CXX = PATH=/usr/bin /usr/dcs/software/evaluation/bin/g++
|
||||
#
|
||||
CC := PATH=/usr/bin /usr/dcs/software/evaluation/bin/gcc
|
||||
|
||||
#
|
||||
# Path to the linker.
|
||||
#
|
||||
LD = ld
|
||||
|
||||
#
|
||||
# Path to the archiver program.
|
||||
#
|
||||
AR_PATH = ar
|
||||
|
||||
#
|
||||
# The pathnames of the Flex and Bison programs, respectively.
|
||||
#
|
||||
|
@ -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
|
||||
|
||||
#----------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user