mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
[Mips]Work around MIPS linker issues exposed by commit r198087 until bug 18360 is resolved
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
609ad7ec44
commit
8ff2864450
@ -611,9 +611,11 @@ endif
|
||||
# By default, strip dead symbols at link time
|
||||
ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
|
||||
ifneq ($(HOST_OS),Darwin)
|
||||
ifneq ($(HOST_ARCH),Mips)
|
||||
CXX.Flags += -ffunction-sections -fdata-sections
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifndef NO_DEAD_STRIP
|
||||
ifeq ($(HOST_OS),Darwin)
|
||||
LD.Flags += -Wl,-dead_strip
|
||||
|
Loading…
x
Reference in New Issue
Block a user