1 # Use "-mtune=i686" on i?86-*-* unless "-m64" is specified. 2 if { [istarget "i?86-*-*"] } { 3 set target_name [target_info name] 4 if {[board_info $target_name exists multilib_flags]} { 5 set multilib_flags [board_info $target_name multilib_flags] 6 if { ![regexp -- "-m64" $multilib_flags] } { 7 set additional_flags "-mtune=i686" 8 } 9 } else { 10 set additional_flags "-mtune=i686" 11 } 12 } 13 return 0 14