projects
/
llvm-toolchain-3.8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14958fa
)
lldb-link-atomic
author
LLVM Packaging Team
<pkg-llvm-team@lists.alioth.debian.org>
Sun, 12 Mar 2017 08:49:18 +0000
(08:49 +0000)
committer
Sylvestre Ledru
<sylvestre@debian.org>
Sun, 12 Mar 2017 08:49:18 +0000
(08:49 +0000)
===================================================================
Gbp-Pq: Name lldb-link-atomic.diff
lldb/lib/Makefile
patch
|
blob
|
history
diff --git
a/lldb/lib/Makefile
b/lldb/lib/Makefile
index ff10216b33960e2c9f51de09799ecb56e393a215..02959354a41ec493391109948e9d105a1542c380 100644
(file)
--- a/
lldb/lib/Makefile
+++ b/
lldb/lib/Makefile
@@
-192,6
+192,10
@@
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
# Link in python
LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -ledit -lncurses -lpanel -lpthread
LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
+ ifneq (,$(filter $(shell dpkg-architecture -qDEB_HOST_ARCH), mips mipsel powerpc powerpcspe))
+ # Link GCC atomic helper library
+ LLVMLibsOptions += -latomic
+ endif
endif
ifeq ($(HOST_OS),FreeBSD)