Add libatomic to link flags when clang is used, this should fix an armel FTBFS
authorGianfranco Costamagna <locutusofborg@debian.org>
Fri, 4 Jan 2019 20:07:05 +0000 (20:07 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Fri, 4 Jan 2019 20:07:05 +0000 (20:07 +0000)
Last-Update: 2018-12-31

Gbp-Pq: Name link-libatomic.patch

QTfrontend/CMakeLists.txt

index befaf072b24ab0672d46f9ea658ec7c3088e9894..22b35efbcec67dab7cdc160cb7bce77b7faf7b66 100644 (file)
@@ -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)