[前][次][番号順一覧][スレッド一覧]

ruby-changes:43894

From: nobu <ko1@a...>
Date: Fri, 19 Aug 2016 17:01:29 +0900 (JST)
Subject: [ruby-changes:43894] nobu:r55967 (trunk): strip stub program

nobu	2016-08-19 17:01:19 +0900 (Fri, 19 Aug 2016)

  New Revision: 55967

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55967

  Log:
    strip stub program
    
    * cygwin/GNUmakefile.in (STUBPROGRAM): strip.

  Modified files:
    trunk/cygwin/GNUmakefile.in
Index: cygwin/GNUmakefile.in
===================================================================
--- cygwin/GNUmakefile.in	(revision 55966)
+++ cygwin/GNUmakefile.in	(revision 55967)
@@ -5,6 +5,7 @@ include Makefile https://github.com/ruby/ruby/blob/trunk/cygwin/GNUmakefile.in#L5
 ENABLE_SHARED=@ENABLE_SHARED@
 DLLWRAP = @DLLWRAP@ --target=@target_os@ --driver-name="$(CC)"
 WINDRES = @WINDRES@ --preprocessor="$(CPP) -xc" -DRC_INVOKED
+STRIP = @STRIP@
 
 ifeq (@target_os@,cygwin)
   DLL_BASE_NAME := $(LIBRUBY_SO:.dll=)
@@ -76,6 +77,7 @@ $(STUBPROGRAM): $(RUBY_INSTALL_NAME).res https://github.com/ruby/ruby/blob/trunk/cygwin/GNUmakefile.in#L77
 	$(ECHO) linking $@
 	$(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) \
 	  win32/stub.@OBJEXT@ $(EXTOBJS) $(LIBRUBYARG) $(LIBS) -o $@
+	$(if $(STRIP),$(Q) $(STRIP) $@)
 
 $(RUBY_EXP): $(LIBRUBY_A)
 	$(ECHO) creating $@

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]