do not link with --rtlib=compiler-rt
authorAndreas Beckmann <anbe@debian.org>
Mon, 4 Feb 2019 23:39:59 +0000 (23:39 +0000)
committerAndreas Beckmann <anbe@debian.org>
Mon, 4 Feb 2019 23:39:59 +0000 (23:39 +0000)
that library is not available on most architectures
and does not seem to be needed at all

fixes a testsuite error on armhf

Gbp-Pq: Name no-compiler-rt.patch

CMakeLists.txt

index 04a83a12127af70333e535edd4c2820804792e8f..d3f68376e03315abc77fe27a05c3640eb660f121 100644 (file)
@@ -717,9 +717,9 @@ elseif(WIN32)
   set(LIBMATH)
 endif()
 
-if(LINK_WITH_CLANG AND (CLANG_HAS_RTLIB_128 OR CLANG_HAS_RTLIB))
-  set(DEFAULT_HOST_LD_FLAGS "${DEFAULT_HOST_LD_FLAGS} --rtlib=compiler-rt")
-endif()
+#if(LINK_WITH_CLANG AND (CLANG_HAS_RTLIB_128 OR CLANG_HAS_RTLIB))
+#  set(DEFAULT_HOST_LD_FLAGS "${DEFAULT_HOST_LD_FLAGS} --rtlib=compiler-rt")
+#endif()
 
 ######################################################################################