From: Arran Cudbard-Bell Date: Thu, 28 Oct 2021 17:31:54 +0000 (-0400) Subject: Let's hope the clang packages pull in lubunwind too *sigh* X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c1be1a61076438f5c68416eaaadd3ccb6c6b3fd;p=thirdparty%2Ffreeradius-server.git Let's hope the clang packages pull in lubunwind too *sigh* --- diff --git a/configure b/configure index 3b451a87439..b2fc62d29a3 100755 --- 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="" diff --git a/configure.ac b/configure.ac index 6f3875abede..0cab1095b56 100644 --- a/configure.ac +++ b/configure.ac @@ -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