File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,18 +144,16 @@ if test -z "$CROSS_AS"; then
144144 if test \( "$machine" = "i386" -o "$machine" = "x86_64" \) -a "$CONFIG_HOST" != "Darwin"; then
145145 AC_PATH_PROG ( [ CROSS_AS] , [ as] )
146146 if test -z "$CROSS_AS"; then
147- AC_PATH_PROG ( [ CROSS_AS] , [ clang] )
148- if test -z "$CROSS_AS"; then
149- AC_MSG_ERROR ( [ gnu assembler not found, please install clang or binutils] )
150- else
151- CROSS_ASFLAGS="-m32 -x assembler -c"
152- fi
147+ AC_MSG_NOTICE ( [ Using ${CC} as as...] )
148+ CROSS_AS=${CC}
149+ CROSS_ASFLAGS="-m32 -x assembler -c"
153150 else
154151 CROSS_ASFLAGS="--32"
155152 fi
156153 else
157154 AC_PATH_PROG ( [ CROSS_AS] , [ clang] )
158155 if test -n "$CROSS_AS"; then
156+ AC_MSG_NOTICE ( [ Using clang as as...] )
159157 CROSS_ASFLAGS="-x assembler -target i686-unknown-linux-gnu -c"
160158 else
161159 AC_MSG_ERROR ( [ 386 assembler not found, please install clang or binutils-i686-linux-gnu] )
You can’t perform that action at this time.
0 commit comments