Author Topic: update-script on Linux does not strip executables and speedup-patch  (Read 3233 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Patch to change this:
Code
--- codeblocks-1.0svn.orig/src/update   2007-11-12 11:52:13.000000000 +0100
+++ codeblocks-1.0svn.orig/src/update   2008-01-15 07:37:18.000000000 +0100
@@ -92,12 +92,12 @@
 # Now remove the exclude pattern file
 rm excludes.txt

-if [ "x$MSYSTEM" != "x" ] ; then
-  echo Stripping debug info from output tree
-  strip output/codeblocks${EXEEXT}
-  strip output/*.${LIBEXT}
-  strip output/share/codeblocks/plugins/*.${LIBEXT}
-else
+echo Stripping debug info from output tree
+strip output/codeblocks${EXEEXT}
+strip output/*.${LIBEXT}
+strip output/share/codeblocks/plugins/*.${LIBEXT}
+
+if [ "x$MSYSTEM" == "x" ] ; then
   echo Creating launch-scripts
   echo "#!/bin/sh" > output/run.sh
   echo -n "APP_DIR=" >> output/run.sh
« Last Edit: May 25, 2008, 06:37:56 pm by jens »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
I just added some speedups similar to rhf's patch #2452 for windows.
The stripping of executables is (of course) still included.

I submitted the patch at berlios number is #2480.