diff -up cfitsio-4.1.0/configure.ldflags cfitsio-4.1.0/configure --- cfitsio-4.1.0/configure.ldflags 2022-08-23 21:19:59.893242099 -0600 +++ cfitsio-4.1.0/configure 2022-08-23 21:20:12.986361691 -0600 @@ -4644,8 +4644,8 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS con ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -LDFLAGS="$CFLAGS" -LDFLAGS_BIN="$LDFLAGS" +# LDFLAGS="$CFLAGS" +LDFLAGS_BIN="$CFLAGS" if test "x$FC" = "xnone" ; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: cfitsio: == Fortran compiler search has been overridden" >&5