target_cpu is much more appropriate for -march than host_cpu

This commit is contained in:
Bill Currie 2003-07-10 16:28:27 +00:00
parent 318a407fc6
commit 8306859b49

View file

@ -1325,9 +1325,9 @@ if test "x$optimize" = xyes; then
)
case "$arch" in
auto)
case "${host_cpu}" in
case "${target_cpu}" in
i?86)
MORE_CFLAGS="-march=${host_cpu}"
MORE_CFLAGS="-march=${target_cpu}"
;;
*)
MORE_CFLAGS=""