Skip to content

Commit

Permalink
[Mips]Work around MIPS linker issues exposed by commit r198087 until …
Browse files Browse the repository at this point in the history
…bug 18360 is resolved

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198451 91177308-0d34-0410-b5e6-96231b3b80d8
Jack Carter committed Jan 3, 2014
1 parent 609ad7e commit 8ff2864
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.rules
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8ff2864

Please sign in to comment.