nasm defaults to -Ox

No need to specify default behaviour. The original change introducing nasm:
7be093ea4d
mentions requiring 2.0.9, which was the first release to default to this behaviour:
http://www.nasm.us/doc/nasmdoc2.html
"The -Ox mode is recommended for most uses, and is the default since NASM 2.09."

Change-Id: Ia914c4deede5aa447277b5189bb4fcf7e54c338d
This commit is contained in:
Johann 2017-12-01 12:46:37 -08:00
parent 401e00792f
commit 65df957df6

View File

@ -1336,7 +1336,6 @@ EOF
esac esac
log_echo " using $AS" log_echo " using $AS"
fi fi
[ "${AS##*/}" = nasm ] && add_asflags -Ox
AS_SFX=.asm AS_SFX=.asm
case ${tgt_os} in case ${tgt_os} in
win32) win32)