Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
update-script on Linux does not strip executables and speedup-patch
(1/1)
Jenna:
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
--- End code ---
Jenna:
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.
Navigation
[0] Message Index
Go to full version