From: Arran Cudbard-Bell Date: Thu, 28 Oct 2021 19:05:30 +0000 (-0400) Subject: rtlib and unwindlib need to align X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87f9ca48e42d97a045fd12c5cd0c06c54e120cff;p=thirdparty%2Ffreeradius-server.git rtlib and unwindlib need to align --- diff --git a/configure b/configure index 50eaba40fc6..5ddbb9e4668 100755 --- 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 : diff --git a/m4/ax_cc.m4 b/m4/ax_cc.m4 index 16732748d63..d948efc6b19 100644 --- a/m4/ax_cc.m4 +++ b/m4/ax_cc.m4 @@ -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( [