[Lunar-commits] <lunar> Making 'lunar' ready for USE_WRAPPERS flag handling.

Auke Kok sofar at lunar-linux.org
Mon Jul 2 04:43:10 CEST 2012


commit 115cefd33a16c5b744da3bebe5559a8e3a4a1ed2
Author: Auke Kok <sofar at lunar-linux.org>
Date:   Sun Mar 19 23:07:46 2006 +0000

    Making 'lunar' ready for USE_WRAPPERS flag handling.
---
 var/lib/lunar/functions/optimize.lunar |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/var/lib/lunar/functions/optimize.lunar b/var/lib/lunar/functions/optimize.lunar
index d310b13..47016b0 100644
--- a/var/lib/lunar/functions/optimize.lunar
+++ b/var/lib/lunar/functions/optimize.lunar
@@ -45,7 +45,7 @@ bad_flags() {
 
 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