Pass -Wl,--build-id to get dbgsym packages (Closes: #916975)

This commit is contained in:
Sylvestre Ledru 2018-12-21 08:25:28 +01:00
parent 4574aab59e
commit f72c848baa
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-7 (1:7.0.1-2) UNRELEASED; urgency=medium
* Pass -Wl,--build-id to get dbgsym packages (Closes: #916975)
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 21 Dec 2018 08:24:20 +0100
llvm-toolchain-7 (1:7.0.1-1) unstable; urgency=medium
* New release

2
debian/rules vendored
View File

@ -134,7 +134,7 @@ ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
endif
# Enable for bootstrap
LDFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option
LDFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -Wl,--build-id
CXXFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option
BOOTSTRAP_CXXFLAGS_EXTRA = $(CXXFLAGS_EXTRA) # Nothing for now. Keeping in case we need it
CFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option