[Lunar-commits] <moonbase> gcc plugin: fixed autodetect

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Dec 19 19:28:08 CET 2009


commit 3c9e64e3049a115cdad0f7121ab20964c9eacae2
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Dec 19 19:28:08 2009 +0100

    gcc plugin: fixed autodetect
---
 compilers/gcc/plugin.d/optimize-gcc_4_4.plugin |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compilers/gcc/plugin.d/optimize-gcc_4_4.plugin b/compilers/gcc/plugin.d/optimize-gcc_4_4.plugin
index 85866a2..c54dbf8 100644
--- a/compilers/gcc/plugin.d/optimize-gcc_4_4.plugin
+++ b/compilers/gcc/plugin.d/optimize-gcc_4_4.plugin
@@ -283,7 +283,7 @@ EOF
             x86)
               OPTIONS=(
                 "None" "" $( [ ! "$CPU" ] && echo "on" || echo "off" ) "All processor types"
-                "autodetect" "autodetect" $( [ "$CPU" == "native" ] && echo "on" || echo "off" ) "autodetect CPU at compile time - recommended"
+                "native" "autodetect" $( [ "$CPU" == "autodetect" ] && echo "on" || echo "off" ) "autodetect CPU at compile time - recommended"
                 "i386" "i386" $( [ "$CPU" == "i386" ] && echo "on" || echo "off" ) "i386 processors"
                 "i486" "i486" $( [ "$CPU" == "i486" ] && echo "on" || echo "off" ) "i486 processors"
                 "i586" "i586 (Pentium)" $( [ "$CPU" == "i586" ] && echo "on" || echo "off" ) "i586 processors, identical to 'pentium'"
@@ -388,7 +388,7 @@ EOF
             x86_64)
               OPTIONS=(
                 "None" "" $( [ ! "$CPU" ] && echo "on" || echo "off" ) "All processor types"
-                "autodetect" "autodetect" $( [ "$CPU" == "native" ] && echo "on" || echo "off" ) "autodetect CPU at compile time - recommended"
+                "native" "autodetect" $( [ "$CPU" == "autodetect" ] && echo "on" || echo "off" ) "autodetect CPU at compile time - recommended"
                 "x86-64" "x86-64" $( [ "$CPU" == "x86-64" ] && echo "on" || echo "off" ) "Both AMD64 and Intel EM64T machines"
                 "nocona" "nocona" $( [ "$CPU" == "nocona" ] && echo "on" || echo "off" ) "Newer Xeons with sse3 and em64t"
                 "core2" "core2" $( [ "$CPU" == "core2" ] && echo "on" || echo "off" ) "Intel Core2 CPU with em64t SSE3 and SSSE3"


More information about the Lunar-commits mailing list