@@ -131,7 +131,7 @@ if test -n "$CROSS_PREFIX"; then
131131 AC_MSG_ERROR ( [ ${CROSS_PREFIX}as not found, CROSS_PREFIX is wrong] )
132132 fi
133133else
134- AC_PATH_PROGS ( [ CROSS_AS] , [ i686-linux-gnu-as i386-elf-as] )
134+ AC_PATH_PROGS ( [ CROSS_AS] , [ i686-linux-gnu-as i686-unknown-linux-gnu-as i386-elf-as] )
135135fi
136136if test -z "$CROSS_AS"; then
137137 AC_PATH_PROG ( [ CROSS_AS] , [ x86_64-linux-gnu-as] )
@@ -168,7 +168,7 @@ if test -n "$CROSS_PREFIX"; then
168168 AC_MSG_ERROR ( [ ${CROSS_PREFIX}ld not found, CROSS_PREFIX is wrong] )
169169 fi
170170else
171- AC_PATH_PROGS ( [ CROSS_LD] , [ i686-linux-gnu-ld i386-elf-ld x86_64-linux-gnu-ld ld.lld] )
171+ AC_PATH_PROGS ( [ CROSS_LD] , [ i686-linux-gnu-ld i686-unknown-linux-gnu-ld i386-elf-ld x86_64-linux-gnu-ld ld.lld] )
172172fi
173173if test -z "$CROSS_LD"; then
174174 if test \( "$machine" = "i386" -o "$machine" = "x86_64" \) -a "$CONFIG_HOST" != "Darwin"; then
@@ -207,7 +207,7 @@ if test -n "$CROSS_PREFIX"; then
207207 AC_MSG_ERROR ( [ ${CROSS_PREFIX}ar not found, CROSS_PREFIX is wrong] )
208208 fi
209209else
210- AC_PATH_PROGS ( [ CROSS_AR] , [ i686-linux-gnu-ar i386-elf-ar x86_64-linux-gnu-ar llvm-ar] , [ ] , [ $PATH${PATH_SEPARATOR}/usr/local/opt/llvm/bin] )
210+ AC_PATH_PROGS ( [ CROSS_AR] , [ i686-linux-gnu-ar i686-unknown-linux-gnu-ar i386-elf-ar x86_64-linux-gnu-ar llvm-ar] , [ ] , [ $PATH${PATH_SEPARATOR}/usr/local/opt/llvm/bin] )
211211fi
212212if test -z "$CROSS_AR"; then
213213 if test "$machine" = "i386" -o "$machine" = "x86_64"; then
@@ -224,7 +224,7 @@ if test -n "$CROSS_PREFIX"; then
224224 AC_MSG_ERROR ( [ ${CROSS_PREFIX}strip not found, CROSS_PREFIX is wrong] )
225225 fi
226226else
227- AC_PATH_PROGS ( [ CROSS_STRIP] , [ i686-linux-gnu-strip i386-elf-strip x86_64-linux-gnu-strip llvm-strip] , [ ] , [ $PATH${PATH_SEPARATOR}/usr/local/opt/llvm/bin] )
227+ AC_PATH_PROGS ( [ CROSS_STRIP] , [ i686-linux-gnu-strip i686-unknown-linux-gnu-strip i386-elf-strip x86_64-linux-gnu-strip llvm-strip] , [ ] , [ $PATH${PATH_SEPARATOR}/usr/local/opt/llvm/bin] )
228228fi
229229if test -z "$CROSS_STRIP"; then
230230 if test "$machine" = "i386" -o "$machine" = "x86_64"; then
@@ -241,7 +241,7 @@ if test -n "$CROSS_PREFIX"; then
241241 AC_MSG_ERROR ( [ ${CROSS_PREFIX}objcopy not found, CROSS_PREFIX is wrong] )
242242 fi
243243else
244- AC_PATH_PROGS ( [ XOBJCOPY] , [ i686-linux-gnu-objcopy x86_64-linux-gnu-objcopy llvm-objcopy objcopy] )
244+ AC_PATH_PROGS ( [ XOBJCOPY] , [ i686-linux-gnu-objcopy i686-unknown-linux-gnu-objcopy x86_64-linux-gnu-objcopy llvm-objcopy objcopy] )
245245fi
246246
247247AC_CHECK_PROGS ( [ UCTAGS] , [ uctags ctags] )
0 commit comments