[Lunar-commits] r22354 - in moonbase/trunk/compilers: gcc/plugin.d gcc4/plugin.d

Auke Kok sofar at lunar-linux.org
Wed Nov 29 22:37:17 CET 2006


Author: sofar
Date: 2006-11-29 22:37:17 +0100 (Wed, 29 Nov 2006)
New Revision: 22354

Modified:
   moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
   moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin
Log:
Bugfix: the gcc -march flag uses x86-64 instead of x86_64


Modified: moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
===================================================================
--- moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-11-29 17:49:15 UTC (rev 22353)
+++ moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-11-29 21:37:17 UTC (rev 22354)
@@ -362,7 +362,7 @@
 					;;
 					x86_64)
 						OPTIONS=(
-							"x86_64" "x86_64" $( [ "$CPU" == "x86_64" ] && echo "on" || echo "off" ) "Both AMD64 and Intel EM64T machines"
+							"x86-64" "x86-64" $( [ "$CPU" == "x86_64" ] && echo "on" || echo "off" ) "Both AMD64 and Intel EM64T machines"
 							"amd64" "amd64" $( [ "$CPU" == "amd64" ] && echo "on" || echo "off" ) "AMD64-specific optimizations" 
 							"em64t" "em64t" $( [ "$CPU" == "em64t" ] && echo "on" || echo "off" ) "Intel EM64t -specific optimizations"
 							)

Modified: moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin
===================================================================
--- moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin	2006-11-29 17:49:15 UTC (rev 22353)
+++ moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin	2006-11-29 21:37:17 UTC (rev 22354)
@@ -362,7 +362,7 @@
 					;;
 					x86_64)
 						OPTIONS=(
-							"x86_64" "x86_64" $( [ "$CPU" == "x86_64" ] && echo "on" || echo "off" ) "Both AMD64 and Intel EM64T machines"
+							"x86-64" "x86-64" $( [ "$CPU" == "x86_64" ] && echo "on" || echo "off" ) "Both AMD64 and Intel EM64T machines"
 							"amd64" "amd64" $( [ "$CPU" == "amd64" ] && echo "on" || echo "off" ) "AMD64-specific optimizations" 
 							"em64t" "em64t" $( [ "$CPU" == "em64t" ] && echo "on" || echo "off" ) "Intel EM64t -specific optimizations"
 							)



More information about the Lunar-commits mailing list