mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 05:46:27 +00:00
21 lines
871 B
Diff
21 lines
871 B
Diff
Description: Link lldb with -latomic to get GCC atomic helpers
|
|
Author: Adam Conrad <adconrad@ubuntu.com>
|
|
Forwarded: no
|
|
Last-Update: 2013-08-21
|
|
|
|
Index: llvm-toolchain-snapshot_3.5~svn200375/lldb/lib/Makefile
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.5~svn200375.orig/lldb/lib/Makefile 2014-01-29 07:49:00.508714445 -0800
|
|
+++ llvm-toolchain-snapshot_3.5~svn200375/lldb/lib/Makefile 2014-01-29 07:49:46.396713007 -0800
|
|
@@ -150,6 +150,10 @@
|
|
LLVMLibsOptions += -Wl,--no-undefined
|
|
# Link in python
|
|
LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -ledit -lncurses -lpanel
|
|
+ ifneq (,$(filter $(shell dpkg-architecture -qDEB_HOST_ARCH), mips mipsel))
|
|
+ # Link GCC atomic helper library
|
|
+ LLVMLibsOptions += -latomic
|
|
+ endif
|
|
LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
|
|
endif
|
|
|