mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +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:
parent
68172da055
commit
771ed15f65
@ -475,7 +475,7 @@ endif
|
||||
# Rules for building libraries
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
LinkBCLib := $(LLVMGCC) -shared
|
||||
LinkBCLib := $(LLVMGCC) -shared -nostdlib
|
||||
ifdef EXPORTED_SYMBOL_LIST
|
||||
LinkBCLib += -Xlinker -internalize-public-api-list=$(EXPORTED_SYMBOL_LIST)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user