[Lunar-commits] r19332 - moonbase/trunk/compilers/gcc/plugin.d

Auke Kok sofar at lunar-linux.org
Mon Mar 20 02:06:24 UTC 2006


Author: sofar
Date: 2006-03-20 02:06:23 +0000 (Mon, 20 Mar 2006)
New Revision: 19332

Modified:
   moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
Log:
Always assume that this is the default compiler - even when the default compiler has not been set - this will aid people who don't set all optimizations or forget to set the default.


Modified: moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
===================================================================
--- moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-03-20 00:57:40 UTC (rev 19331)
+++ moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-03-20 02:06:23 UTC (rev 19332)
@@ -4,7 +4,7 @@
 
 plugin_compiler_gcc_3_4_optimize()
 {
-	if [ "$LUNAR_COMPILER" != "GCC_3_4" ]; then
+	if [ "${LUNAR_COMPILER:-GCC_3_4}" != "GCC_3_4" ]; then
 		return 2
 	fi
 	



More information about the Lunar-commits mailing list