1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[Mips]Work around MIPS linker issues exposed by commit r198087 until bug 18360 is resolved

llvm-svn: 198451
This commit is contained in:
Jack Carter 2014-01-03 22:18:43 +00:00
parent b815956465
commit b6d0159755

View File

@ -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