Merge "Skip AS detection when using --enable-external-build"
This commit is contained in:
commit
bb0bc06fa5
@ -1209,6 +1209,9 @@ EOF
|
||||
check_gcc_machine_option avx
|
||||
check_gcc_machine_option avx2
|
||||
|
||||
if enabled external_build; then
|
||||
log_echo " skipping assembler detection"
|
||||
else
|
||||
case "${AS}" in
|
||||
auto|"")
|
||||
which nasm >/dev/null 2>&1 && AS=nasm
|
||||
@ -1227,6 +1230,7 @@ EOF
|
||||
;;
|
||||
esac
|
||||
log_echo " using $AS"
|
||||
fi
|
||||
[ "${AS##*/}" = nasm ] && add_asflags -Ox
|
||||
AS_SFX=.asm
|
||||
case ${tgt_os} in
|
||||
|
Loading…
x
Reference in New Issue
Block a user