]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
We need to specify the unwind lib too
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 28 Oct 2021 17:16:33 +0000 (13:16 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 28 Oct 2021 17:16:33 +0000 (13:16 -0400)
configure
configure.ac

index 96ca0dd8b91fcf4a000a34c99c1c48fc0b4bb8d8..02c885bfb45145c24fe0f1dd7b96fe22e94c9ada 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" # Needed for builtins to function correctly
+  LDFLAGS="$LDFLAGS --rtlib=compiler-rt --unwindlib=compiler-rt" # Needed for builtins to function correctly
 else
   clang_path=""
 
index 0a49fcaffae313ff66778b696c66105059e2b391..a02230fb6adb5ebd59ad141a545fd86be05fac65 100644 (file)
@@ -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