diff --git a/architecture/x86/gcc-options b/architecture/x86/gcc-options index 61da7ebc8..72ed48d14 100644 --- a/architecture/x86/gcc-options +++ b/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