mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
When linking the runtime libraries, do not link -lc and -lgcc into the libraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -475,7 +475,7 @@ endif
|
|||||||
# Rules for building libraries
|
# Rules for building libraries
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
||||||
LinkBCLib := $(LLVMGCC) -shared
|
LinkBCLib := $(LLVMGCC) -shared -nostdlib
|
||||||
ifdef EXPORTED_SYMBOL_LIST
|
ifdef EXPORTED_SYMBOL_LIST
|
||||||
LinkBCLib += -Xlinker -internalize-public-api-list=$(EXPORTED_SYMBOL_LIST)
|
LinkBCLib += -Xlinker -internalize-public-api-list=$(EXPORTED_SYMBOL_LIST)
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user