[Lunar-commits] CVS: theedge/var/lib/lunar/functions optimize.lunar, 1.51, 1.52

Auke Kok sofar at lunar-linux.org
Thu Mar 31 13:10:10 UTC 2005


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory espresso.foo-projects.org:/home/sofar/active/theedge/var/lib/lunar/functions

Modified Files:
	optimize.lunar 
Log Message:
Adding a switch for -Wl,as-needed to reduce the amount of linked in libraries. Faster startups? possibly. Could prove useful.


Index: optimize.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/optimize.lunar,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- optimize.lunar	12 Jan 2005 17:17:42 -0000	1.51
+++ optimize.lunar	31 Mar 2005 13:09:37 -0000	1.52
@@ -675,6 +675,8 @@
                     ;;
          Optimize)  LDFLAGS="$LDFLAGS -Wl,-O1"
                     ;;
+         Reduce)    LDFLAGS="$LDFLAGS -Wl,--as-needed"
+                    ;;
 # The Debug option breaks some modules (eg: tar and gzip, just to mention a
 # few), so this option should either be removed, or remain "deactivated"
 # untill this has been resolved but the hatch is that we don't know how many



More information about the Lunar-commits mailing list