summaryrefslogtreecommitdiff
path: root/debian/rules.d/binary-gcc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules.d/binary-gcc.mk')
-rw-r--r--debian/rules.d/binary-gcc.mk3
1 files changed, 2 insertions, 1 deletions
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)