Author: aurel32
Date: 2015-12-03 18:36:37 +0000 (Thu, 03 Dec 2015)
New Revision: 6757

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/rules.d/debhelper.mk
Log:
rules.d/debhelper.mk: strip *crt*.o files.

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2015-12-03 18:19:00 UTC (rev 
6756)
+++ glibc-package/trunk/debian/changelog        2015-12-03 18:36:37 UTC (rev 
6757)
@@ -7,6 +7,7 @@
   * testsuite-checking/expected-results-hppa-linux-gnu-libc: update testsuite
     result, from John David Anglin.  Closes: #806839.
   * debhelper.in/libc.NEWS: add an entry about the required minimum kernel.
+  * rules.d/debhelper.mk: strip *crt*.o files.
 
  -- Aurelien Jarno <aure...@debian.org>  Tue, 01 Dec 2015 21:15:13 +0100
 

Modified: glibc-package/trunk/debian/rules.d/debhelper.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/debhelper.mk     2015-12-03 18:19:00 UTC 
(rev 6756)
+++ glibc-package/trunk/debian/rules.d/debhelper.mk     2015-12-03 18:36:37 UTC 
(rev 6757)
@@ -60,6 +60,10 @@
              $(DEB_HOST_GNU_TYPE)-strip --strip-debug 
--remove-section=.comment        \
                                         --remove-section=.note $$f ;           
        \
            done ;                                                              
        \
+           for f in $$(find debian/$(curpass) -name \*crt\*.o) ; do            
        \
+             $(DEB_HOST_GNU_TYPE)-strip --strip-debug 
--remove-section=.comment        \
+                                        --remove-section=.note $$f ;           
        \
+           done ;                                                              
        \
          else                                                                  
        \
            dh_strip -p$(curpass) -Xlibpthread;                                 
        \
          fi                                                                    
        \

Reply via email to