[Commits] (heikki) Partial fix for bug 2303, new optional strip target strips .so's on Linux and OS X. Fast tboxes (and official builds) will use this. Full tboxes todo. r=bear.

commits at osafoundation.org commits at osafoundation.org
Wed Apr 27 19:11:59 PDT 2005


Commit by: heikki
Modified files:
external/Makefile 1.72 1.73

Log message:
Partial fix for bug 2303, new optional strip target strips .so's on Linux and OS X. Fast tboxes (and official builds) will use this. Full tboxes todo. r=bear.

Bugzilla links:
http://bugzilla.osafoundation.org/show_bug.cgi?id=2303

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/external/Makefile.diff?r1=text&tr1=1.72&r2=text&tr2=1.73

Index: external/Makefile
diff -u external/Makefile:1.72 external/Makefile:1.73
--- external/Makefile:1.72	Fri Apr 15 09:55:03 2005
+++ external/Makefile	Wed Apr 27 19:11:58 2005
@@ -46,6 +46,22 @@
 
 all: env sources $(SYSTEMS)
 
+ifeq ($(OS),Cygwin)
+strip:
+else
+ifeq ($(DEBUG),1)
+strip:
+else
+ifeq ($(OS),Darwin)
+STRIP_OPTIONS=-S
+else
+STRIP_OPTIONS=
+endif
+strip:
+	find release -name "*.so" |xargs -r strip $(STRIP_OPTIONS)
+endif
+endif
+
 world: all binaries install
 	make -C ../internal DEBUG=$(DEBUG) world
 



More information about the Commits mailing list