]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rtlib and unwindlib need to align
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 28 Oct 2021 19:05:30 +0000 (15:05 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 28 Oct 2021 19:05:30 +0000 (15:05 -0400)
configure
m4/ax_cc.m4

index 50eaba40fc631e015ab82a7443170915ed0ef2d8..5ddbb9e4668f01df049d24bbd86196d1617ec1e8 100755 (executable)
--- a/configure
+++ b/configure
@@ -5851,7 +5851,7 @@ then :
 else $as_nop
 
     CFLAGS_SAVED=$CFLAGS
-    CFLAGS="$CFLAGS -Werror --unwindlib=libunwind"
+    CFLAGS="$CFLAGS -Werror --rtlib=compiler-rt --unwindlib=libunwind"
 
     if test "$cross_compiling" = yes
 then :
index 16732748d634b9a6e6098d0cf7983f4dcbe7396c..d948efc6b1996981135d6a8bc0a7554330659102 100644 (file)
@@ -64,7 +64,7 @@ dnl #
 AC_DEFUN([AX_CC_UNWINDLIB_ARG],[
   AC_CACHE_CHECK([if the compiler accepts --unwindlib], [ax_cv_cc_unwindlib_arg],[
     CFLAGS_SAVED=$CFLAGS
-    CFLAGS="$CFLAGS -Werror --unwindlib=libunwind"
+    CFLAGS="$CFLAGS -Werror --rtlib=compiler-rt --unwindlib=libunwind"
 
     AC_RUN_IFELSE(
     [