mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 11:55:49 +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
|
# By default, strip dead symbols at link time
|
||||||
ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
|
ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
|
||||||
ifneq ($(HOST_OS),Darwin)
|
ifneq ($(HOST_OS),Darwin)
|
||||||
|
ifneq ($(HOST_ARCH),Mips)
|
||||||
CXX.Flags += -ffunction-sections -fdata-sections
|
CXX.Flags += -ffunction-sections -fdata-sections
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
ifndef NO_DEAD_STRIP
|
ifndef NO_DEAD_STRIP
|
||||||
ifeq ($(HOST_OS),Darwin)
|
ifeq ($(HOST_OS),Darwin)
|
||||||
LD.Flags += -Wl,-dead_strip
|
LD.Flags += -Wl,-dead_strip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user