From ab9a6ad35de3fdfe4d4ae24d77a6310694bd85c0 Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Fri, 4 Jan 2019 20:07:05 +0000 Subject: [PATCH] Add libatomic to link flags when clang is used, this should fix an armel FTBFS Last-Update: 2018-12-31 Gbp-Pq: Name link-libatomic.patch --- QTfrontend/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QTfrontend/CMakeLists.txt b/QTfrontend/CMakeLists.txt index befaf07..22b35ef 100644 --- a/QTfrontend/CMakeLists.txt +++ b/QTfrontend/CMakeLists.txt @@ -214,7 +214,7 @@ if(WIN32 AND NOT UNIX) endif() if(CMAKE_CXX_COMPILER MATCHES "clang*") - list(APPEND HW_LINK_LIBS stdc++ m) + list(APPEND HW_LINK_LIBS stdc++ m atomic) endif() if(WIN32 AND VCPKG_TOOLCHAIN) -- 2.30.2