[Lunar-commits] r19114 - moonbase/trunk/zbeta/gcc4/plugin.d

Auke Kok sofar at lunar-linux.org
Fri Mar 3 22:27:30 UTC 2006


Author: sofar
Date: 2006-03-03 22:27:27 +0000 (Fri, 03 Mar 2006)
New Revision: 19114

Modified:
   moonbase/trunk/zbeta/gcc4/plugin.d/optimize-gcc_4_0.plugin
Log:
Also pass $COMPILER path upstream - don't do path manipulation ourselves.


Modified: moonbase/trunk/zbeta/gcc4/plugin.d/optimize-gcc_4_0.plugin
===================================================================
--- moonbase/trunk/zbeta/gcc4/plugin.d/optimize-gcc_4_0.plugin	2006-03-03 22:24:55 UTC (rev 19113)
+++ moonbase/trunk/zbeta/gcc4/plugin.d/optimize-gcc_4_0.plugin	2006-03-03 22:27:27 UTC (rev 19114)
@@ -111,18 +111,16 @@
 		esac
 	done
 
-	COMPILER_PATH=/opt/lunar/gcc/4.0/bin
-
+	export COMPILER_PATH=/opt/lunar/gcc/4.0/bin
+	
 	CC=gcc
 	CXX=g++
-	CPP=$COMPILER_PATH/cpp
+	CPP=cpp
 
-	export COMPILER_PATH
 	export COPT CCOPT
 	export CFLAGS CXXFLAGS CPPFLAGS
 	export CC CXX CPP
 
-	verbose_msg "COMPILER_PATH=\"$COMPILER_PATH\""
 	verbose_msg "CC=\"$CC\""
 	verbose_msg "CXX=\"$CXX\""
 	verbose_msg "CPP=\"$CPP\""



More information about the Lunar-commits mailing list