[Lunar-commits] CVS: theedge/var/lib/lunar/menu optimize.menu, 1.22, 1.23

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


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

Modified Files:
	optimize.menu 
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.menu
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/menu/optimize.menu,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- optimize.menu	18 Mar 2005 00:35:05 -0000	1.22
+++ optimize.menu	31 Mar 2005 13:09:55 -0000	1.23
@@ -211,6 +211,7 @@
             MENU="Linker options"
       Strip_HELP="Strip all symbols"
    Optimize_HELP="Optimize hash tables during linking"
+     Reduce_HELP="Reduce the amount of linked libraries if possible"
   Combreloc_HELP="Combreloc"
 #     Debug_HELP="Strip debug symbols only"
                ;;
@@ -370,8 +371,9 @@
 
 ldf_options() {
    OPTIONS=( "Strip"      "-s"            $( echo ${LDF[@]} | grep -q "Strip" && echo "on" || echo "off" )     "$Strip_HELP"
-#            "Debug"      "-S"            $( echo ${LDF[@]} | grep -q "Debug" && echo "on" || echo "off" )     "$Debug_HELP"
             "Optimize"      "-Wl,-O1"     $( echo ${LDF[@]} | grep -q "Optimize" && echo "on" || echo "off" )     "$Optimize_HELP"
+            "Reduce"      "-Wl,--as-needed"     $( echo ${LDF[@]} | grep -q "Reduce" && echo "on" || echo "off" )     "$Reduce_HELP"
+#            "Debug"      "-S"            $( echo ${LDF[@]} | grep -q "Debug" && echo "on" || echo "off" )     "$Debug_HELP"
              "Combreloc"  "-z combreloc"  $( echo ${LDF[@]} | grep -q "Combreloc" && echo "on" || echo "off" ) "$Combreloc_HELP" )
 
 }



More information about the Lunar-commits mailing list