Browse Source

the work-around for gcc miscompilations on k6*

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1276 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
9a498d0529
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      architecture/x86/gcc-options

+ 5
- 0
architecture/x86/gcc-options

@ -5,6 +5,11 @@ case "$ROCKCFG_X86_OPT" in
var_append GCC3_WRAPPER_INSERT " " "-march=k62" ;;
via-c3-2)
var_append GCC3_WRAPPER_INSERT " " "-march=pentium-mmx" ;;
k6*)
var_append GCC3_WRAPPER_INSERT " " "-march=$ROCKCFG_X86_OPT"
# work-around and shoudl be removed when gcc 3.x got fixed ...
var_append GCC3_WRAPPER_INSERT " " "-fno-branch-count-reg"
;;
*)
var_append GCC3_WRAPPER_INSERT " " "-march=$ROCKCFG_X86_OPT" ;;
esac

Loading…
Cancel
Save