From: Gianfranco Costamagna Date: Fri, 4 Jan 2019 20:07:05 +0000 (+0000) Subject: Add libatomic to link flags when clang is used, this should fix an armel FTBFS X-Git-Tag: archive/raspbian/1.0.0-8+rpi1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ab9a6ad35de3fdfe4d4ae24d77a6310694bd85c0;p=hedgewars.git 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 --- 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)