[Lunar-commits] r19328 - lunar/branches/stable/var/lib/lunar/functions

Auke Kok sofar at lunar-linux.org
Sun Mar 19 23:07:47 UTC 2006


Author: sofar
Date: 2006-03-19 23:07:46 +0000 (Sun, 19 Mar 2006)
New Revision: 19328

Modified:
   lunar/branches/stable/var/lib/lunar/functions/optimize.lunar
Log:
Making 'lunar' ready for USE_WRAPPERS flag handling.


Modified: lunar/branches/stable/var/lib/lunar/functions/optimize.lunar
===================================================================
--- lunar/branches/stable/var/lib/lunar/functions/optimize.lunar	2006-03-19 23:04:24 UTC (rev 19327)
+++ lunar/branches/stable/var/lib/lunar/functions/optimize.lunar	2006-03-19 23:07:46 UTC (rev 19328)
@@ -45,7 +45,7 @@
 
 use_wrappers() {
   debug_msg "use_wrappers ($@)"
-  if [ "$GCCWRAPPERS" == "on" ] ; then
+  if [ "${USE_WRAPPERS:-${GCCWRAPPERS:-on}}" == "on" ] ; then
     verbose_msg "Enabling gcc wrapper scripts to force optimizations"
     export PATH=/var/lib/lunar/compilers:${PATH}
   fi  



More information about the Lunar-commits mailing list