Debian: document that debug info flags are unapplicable for us

This commit is contained in:
Roman Lebedev 2025-10-05 21:55:01 +03:00
parent 766f89f0f2
commit c263923e0d
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0

15
debian/rules vendored
View File

@ -31,6 +31,21 @@ endif
export CARGO_ARGS = "--frozen"
# WARNING: split debug info makes the package unreproducible!
#
# export CFLAGS += -gsplit-dwarf
# export RUSTFLAGS += -C split-debuginfo=packed
#
# override_dh_dwz:
# # Skipping DWZ since debug info is split.
# WARNING: compressed debug info without split debug info results in
# size increase(!), and breaks DWZ.
#
# export CFLAGS += -gz=zlib
# export LDFLAGS += -Wl,--compress-debug-sections=zlib
# export RUSTFLAGS += -C link-arg=-Wl,--compress-debug-sections=zlib
%:
dh $@ --parallel --with dkms