target_cpu makes much more sense for -march

This commit is contained in:
Bill Currie 2003-07-10 05:10:34 +00:00
parent 031041d3be
commit 3537d67eff

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=""