Commit f8d58c1d authored by unknown's avatar unknown

BUG#26701 check-cpu compile flags in x86-64 doesn't support gcc < 3.4,

apply suggestion from jocelyn fournier

parent 858ea1bf
......@@ -179,8 +179,15 @@ check_cpu () {
check_cpu_args='-mcpu=$cpu_arg -mtune=$cpu_arg'
;;
x86_64-*)
case "$cc_verno" in
3.4*|3.5*|4.*)
check_cpu_args='-mtune=$cpu_arg'
;;
*)
check_cpu_args='-mcpu=$cpu_arg'
;;
esac
;;
*)
check_cpu_cflags=""
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment