mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 19:36:28 +00:00
[Mips]Work around MIPS linker issues exposed by commit r198087 until bug 18360 is resolved
llvm-svn: 198451
This commit is contained in:
parent
4b79247750
commit
5b3d51c7fb
@ -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