configure: fix ar' and
as' inference for cross-compile
This commit is contained in:
parent
61ca229a57
commit
5d653e52ba
4
src/configure
vendored
4
src/configure
vendored
|
@ -3697,7 +3697,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
|||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
if test "$AS" = '' ; then
|
||||
AS=as
|
||||
AS="${ac_tool_prefix}as"
|
||||
as_was_set=no
|
||||
else
|
||||
as_was_set=yes
|
||||
|
@ -3800,7 +3800,7 @@ else
|
|||
fi
|
||||
|
||||
if test "$AR" = '' ; then
|
||||
AR=ar
|
||||
AR="${ac_tool_prefix}ar"
|
||||
fi
|
||||
if test "$ARFLAGS" = '' ; then
|
||||
ARFLAGS=ruv
|
||||
|
|
|
@ -440,7 +440,7 @@ if test "${enable_oskit}" = "no" ; then
|
|||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
if test "$AS" = '' ; then
|
||||
AS=as
|
||||
AS="${ac_tool_prefix}as"
|
||||
as_was_set=no
|
||||
else
|
||||
as_was_set=yes
|
||||
|
@ -448,7 +448,7 @@ if test "${enable_oskit}" = "no" ; then
|
|||
fi
|
||||
AC_PROG_RANLIB
|
||||
if test "$AR" = '' ; then
|
||||
AR=ar
|
||||
AR="${ac_tool_prefix}ar"
|
||||
fi
|
||||
if test "$ARFLAGS" = '' ; then
|
||||
ARFLAGS=ruv
|
||||
|
|
Loading…
Reference in New Issue
Block a user