summaryrefslogtreecommitdiff
path: root/debian/rules.d
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-02-11 06:21:38 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-02-11 06:21:38 +0000
commit0cfa1e5d0811ea76f8392384f54ff7ef303a71bc (patch)
tree66a2c4e0eb796bb2fe6138065134fe6e59347c7c /debian/rules.d
parent57e18240804b8124f9694ae1ac013c12a46bce4a (diff)
downloadgcc-5-0cfa1e5d0811ea76f8392384f54ff7ef303a71bc.tar.gz
* Allow not to strip the compiler executables to be able to print backtraces
for ICEs. git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@7835 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.d')
-rw-r--r--debian/rules.d/binary-cpp.mk3
-rw-r--r--debian/rules.d/binary-cxx.mk3
-rw-r--r--debian/rules.d/binary-d.mk3
-rw-r--r--debian/rules.d/binary-fortran.mk3
-rw-r--r--debian/rules.d/binary-gcc.mk3
-rw-r--r--debian/rules.d/binary-go.mk3
-rw-r--r--debian/rules.d/binary-java.mk3
-rw-r--r--debian/rules.d/binary-objc.mk3
-rw-r--r--debian/rules.d/binary-objcxx.mk3
-rw-r--r--debian/rules.d/binary-snapshot.mk6
10 files changed, 22 insertions, 11 deletions
diff --git a/debian/rules.d/binary-cpp.mk b/debian/rules.d/binary-cpp.mk
index 54347b3..6fe2118 100644
--- a/debian/rules.d/binary-cpp.mk
+++ b/debian/rules.d/binary-cpp.mk
@@ -47,7 +47,8 @@ endif
debian/dh_doclink -p$(p_cpp) $(p_xbase)
debian/dh_rmemptydirs -p$(p_cpp)
- dh_strip -p$(p_cpp)
+ dh_strip -p$(p_cpp) \
+ $(if $(unstripped_exe)-X/cc1)
dh_compress -p$(p_cpp)
dh_fixperms -p$(p_cpp)
dh_shlibdeps -p$(p_cpp)
diff --git a/debian/rules.d/binary-cxx.mk b/debian/rules.d/binary-cxx.mk
index 4bb6e5b..16b1a24 100644
--- a/debian/rules.d/binary-cxx.mk
+++ b/debian/rules.d/binary-cxx.mk
@@ -93,7 +93,8 @@ else
endif
echo "TEST COMPARE END"
- dh_strip -p$(p_cxx)
+ dh_strip -p$(p_cxx) \
+ $(if $(unstripped_exe)-X/cc1plus)
dh_compress -p$(p_cxx) -X.log.xz -X.sum.xz
dh_fixperms -p$(p_cxx)
dh_shlibdeps -p$(p_cxx)
diff --git a/debian/rules.d/binary-d.mk b/debian/rules.d/binary-d.mk
index f530817..ac9f706 100644
--- a/debian/rules.d/binary-d.mk
+++ b/debian/rules.d/binary-d.mk
@@ -124,7 +124,8 @@ endif
/$(docdir)/$(p_gcc)/README.Bugs \
/$(docdir)/$(p_gdc)/README.Bugs
- dh_strip -p$(p_gdc)
+ dh_strip -p$(p_gdc) \
+ $(if $(unstripped_exe)-X/cc1d)
dh_compress -p$(p_gdc)
dh_fixperms -p$(p_gdc)
dh_shlibdeps -p$(p_gdc)
diff --git a/debian/rules.d/binary-fortran.mk b/debian/rules.d/binary-fortran.mk
index ff60453..4483913 100644
--- a/debian/rules.d/binary-fortran.mk
+++ b/debian/rules.d/binary-fortran.mk
@@ -207,7 +207,8 @@ endif
$(d_g95)/$(docdir)/$(p_xbase)/fortran/changelog
debian/dh_rmemptydirs -p$(p_g95)
- dh_strip -p$(p_g95)
+ dh_strip -p$(p_g95) \
+ $(if $(unstripped_exe)-X/f951)
dh_compress -p$(p_g95)
dh_fixperms -p$(p_g95)
dh_shlibdeps -p$(p_g95)
diff --git a/debian/rules.d/binary-gcc.mk b/debian/rules.d/binary-gcc.mk
index a8fbbc0..6369a95 100644
--- a/debian/rules.d/binary-gcc.mk
+++ b/debian/rules.d/binary-gcc.mk
@@ -162,7 +162,8 @@ endif
true; \
fi
debian/dh_rmemptydirs -p$(p_gcc)
- dh_strip -p$(p_gcc)
+ dh_strip -p$(p_gcc) \
+ $(if $(unstripped_exe)-X/lto1)
dh_compress -p$(p_gcc) -X README.Bugs
dh_fixperms -p$(p_gcc)
dh_shlibdeps -p$(p_gcc)
diff --git a/debian/rules.d/binary-go.mk b/debian/rules.d/binary-go.mk
index 9830699..3c82acf 100644
--- a/debian/rules.d/binary-go.mk
+++ b/debian/rules.d/binary-go.mk
@@ -250,7 +250,8 @@ endif
# $(d_go)/$(docdir)/$(p_base)/go/changelog
debian/dh_rmemptydirs -p$(p_go)
- dh_strip -p$(p_go) -X/cgo -Xgo$(pkg_ver) -Xgofmt$(pkg_ver)
+ dh_strip -p$(p_go) -X/cgo -Xgo$(pkg_ver) -Xgofmt$(pkg_ver) \
+ $(if $(unstripped_exe)-X/go1)
dh_compress -p$(p_go)
dh_fixperms -p$(p_go)
dh_shlibdeps -p$(p_go)
diff --git a/debian/rules.d/binary-java.mk b/debian/rules.d/binary-java.mk
index c0722d4..976945a 100644
--- a/debian/rules.d/binary-java.mk
+++ b/debian/rules.d/binary-java.mk
@@ -284,7 +284,8 @@ endif
debian/dh_doclink -p$(p_gcj) $(p_jbase)
debian/dh_rmemptydirs -p$(p_gcj)
- dh_strip -p$(p_gcj)
+ dh_strip -p$(p_gcj) \
+ $(if $(unstripped_exe)-X/jc1)
dh_compress -p$(p_gcj)
dh_fixperms -p$(p_gcj)
dh_shlibdeps -p$(p_gcj) -Xecj1
diff --git a/debian/rules.d/binary-objc.mk b/debian/rules.d/binary-objc.mk
index 29daa45..3df0885 100644
--- a/debian/rules.d/binary-objc.mk
+++ b/debian/rules.d/binary-objc.mk
@@ -35,7 +35,8 @@ $(binary_stamp)-objc: $(install_stamp)
debian/dh_rmemptydirs -p$(p_objc)
- dh_strip -p$(p_objc)
+ dh_strip -p$(p_objc) \
+ $(if $(unstripped_exe)-X/cc1obj)
dh_compress -p$(p_objc)
dh_fixperms -p$(p_objc)
diff --git a/debian/rules.d/binary-objcxx.mk b/debian/rules.d/binary-objcxx.mk
index a721d49..25cb279 100644
--- a/debian/rules.d/binary-objcxx.mk
+++ b/debian/rules.d/binary-objcxx.mk
@@ -31,7 +31,8 @@ $(binary_stamp)-objcxx: $(install_stamp)
debian/dh_rmemptydirs -p$(p_objcx)
- dh_strip -p$(p_objcx)
+ dh_strip -p$(p_objcx) \
+ $(if $(unstripped_exe)-X/cc1objplus)
dh_compress -p$(p_objcx)
dh_fixperms -p$(p_objcx)
diff --git a/debian/rules.d/binary-snapshot.mk b/debian/rules.d/binary-snapshot.mk
index fc71966..2eae4db 100644
--- a/debian/rules.d/binary-snapshot.mk
+++ b/debian/rules.d/binary-snapshot.mk
@@ -179,9 +179,11 @@ endif
$(d_snap)/$(docdir)/$(p_snap)/
dh_installchangelogs -p$(p_snap)
ifeq ($(DEB_TARGET_ARCH),hppa)
- dh_strip -p$(p_snap) -Xdebug -X.o -X.a -X/cgo -Xbin/go -Xbin/gofmt
+ dh_strip -p$(p_snap) -Xdebug -X.o -X.a -X/cgo -Xbin/go -Xbin/gofmt \
+ $(if $(unstripped_exe)-X/{cc1,cc1obj,cc1objplus,cc1plus,cc1d,f951,go1,jc1,lto1)
else
- dh_strip -p$(p_snap) -Xdebug -X/cgo -Xbin/go -Xbin/gofmt
+ dh_strip -p$(p_snap) -Xdebug -X/cgo -Xbin/go -Xbin/gofmt \
+ $(if $(unstripped_exe)-X/{cc1,cc1obj,cc1objplus,cc1plus,cc1d,f951,go1,jc1,lto1)
endif
dh_compress -p$(p_snap) -X README.Bugs -X.log.xz -X.sum.xz
-find $(d_snap) -type d ! -perm 755 -exec chmod 755 {} \;