]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Let's hope the clang packages pull in lubunwind too *sigh*
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 28 Oct 2021 17:31:54 +0000 (13:31 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 28 Oct 2021 17:31:54 +0000 (13:31 -0400)
configure
configure.ac

index 3b451a874393ed3527a587d62b503fcaafb747b5..b2fc62d29a36c5b902793e2b3bad17fe21bc51ec 100755 (executable)
--- a/configure
+++ b/configure
@@ -5841,7 +5841,7 @@ printf "%s\n" "$ax_cv_cc_clang" >&6; }
 if test "x$ax_cv_cc_clang" = "xyes"; then
   clang_path="$CC"
 
-    LDFLAGS="$LDFLAGS --rtlib=compiler-rt --unwindlib=compiler-rt"
+    LDFLAGS="$LDFLAGS --rtlib=compiler-rt --unwindlib=libunwind"
 else
   clang_path=""
 
index 6f3875abeded5d1146dcccddac806b6d60643d5d..0cab1095b56927be69c54aaf1b096196eececcd7 100644 (file)
@@ -249,8 +249,8 @@ dnl #
 AX_CC_IS_CLANG
 if test "x$ax_cv_cc_clang" = "xyes"; then
   AC_SUBST(clang_path, "$CC")
-  dnl # Needed for builtins to function correctly
-  LDFLAGS="$LDFLAGS --rtlib=compiler-rt --unwindlib=compiler-rt"
+  dnl # Needed for builtins to function correctly (https://bugs.gentoo.org/702344)
+  LDFLAGS="$LDFLAGS --rtlib=compiler-rt --unwindlib=libunwind"
 else
   AC_SUBST(clang_path, "")
 fi