1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/x86/gcc-options.in
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 case "$SDECFG_X86_OPT" in
15 var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_X86_OPT"
18 var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_X86_OPT"
21 var_append GCC_WRAPPER_INSERT " " "-march=i586 -mmmx" ;;
23 var_append GCC_WRAPPER_INSERT " " "-march=i686 -mmmx" ;;
25 var_append GCC_WRAPPER_INSERT " " "-march=esther" ;;
27 var_append GCC_WRAPPER_INSERT " " "-march=pentium-mmx" ;;
29 var_append GCC_WRAPPER_INSERT " " "-march=geode" ;;
31 var_append GCC_WRAPPER_INSERT " " "-march=k6-2" ;;
33 var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_X86_OPT" ;;