Author: aurel32
Date: 2015-12-02 08:19:47 +0000 (Wed, 02 Dec 2015)
New Revision: 6733
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/rules.d/debhelper.mk
Log:
rules.d/debhelper.mk: prefix calls to strip with $(DEB_HOST_GNU_TYPE)-.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2015-12-02 08:03:06 UTC (rev
6732)
+++ glibc-package/trunk/debian/changelog 2015-12-02 08:19:47 UTC (rev
6733)
@@ -2,7 +2,8 @@
[ Aurelien Jarno ]
* debhelper.in/libc.preinst: drop outdated code about pre-2.6 kernels.
- * rules.d/debhelper.mk: prefix calls to objcopy with $(DEB_HOST_GNU_TYPE)-.
+ * rules.d/debhelper.mk: prefix calls to objcopy and strip with
+ $(DEB_HOST_GNU_TYPE)-.
* testsuite-checking/expected-results-hppa-linux-gnu-libc: update testsuite
result, from John David Anglin. Closes: #806839.
Modified: glibc-package/trunk/debian/rules.d/debhelper.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/debhelper.mk 2015-12-02 08:03:06 UTC
(rev 6732)
+++ glibc-package/trunk/debian/rules.d/debhelper.mk 2015-12-02 08:19:47 UTC
(rev 6733)
@@ -57,7 +57,8 @@
mkdir -p $$(dirname $$dbgpath) ;
\
$(DEB_HOST_GNU_TYPE)-objcopy --only-keep-debug $$f $$dbgpath ;
\
$(DEB_HOST_GNU_TYPE)-objcopy --add-gnu-debuglink=$$dbgpath $$f ;
\
- strip --strip-debug --remove-section=.comment
--remove-section=.note $$f ;\
+ $(DEB_HOST_GNU_TYPE)-strip --strip-debug
--remove-section=.comment \
+ --remove-section=.note $$f ;
\
done ;
\
else
\
dh_strip -p$(curpass) -Xlibpthread;
\