From: Arran Cudbard-Bell Date: Thu, 28 Oct 2021 17:16:33 +0000 (-0400) Subject: We need to specify the unwind lib too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e466c0da8b55646541af64959ea8171bc911955c;p=thirdparty%2Ffreeradius-server.git We need to specify the unwind lib too --- diff --git a/configure b/configure index 96ca0dd8b91..02c885bfb45 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" # Needed for builtins to function correctly + LDFLAGS="$LDFLAGS --rtlib=compiler-rt --unwindlib=compiler-rt" # Needed for builtins to function correctly else clang_path="" diff --git a/configure.ac b/configure.ac index 0a49fcaffae..a02230fb6ad 100644 --- a/configure.ac +++ b/configure.ac @@ -249,7 +249,7 @@ dnl # AX_CC_IS_CLANG if test "x$ax_cv_cc_clang" = "xyes"; then AC_SUBST(clang_path, "$CC") - LDFLAGS="$LDFLAGS --rtlib=compiler-rt" # Needed for builtins to function correctly + LDFLAGS="$LDFLAGS --rtlib=compiler-rt --unwindlib=compiler-rt" # Needed for builtins to function correctly else AC_SUBST(clang_path, "") fi