From 9d02d4e88ab12f30f25efa4a1650c15b030876c9 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Sun, 12 Mar 2017 08:49:18 +0000 Subject: [PATCH] lldb-link-atomic =================================================================== Gbp-Pq: Name lldb-link-atomic.diff --- lldb/lib/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index ff10216b..02959354 100644 --- 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) -- 2.30.2