File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55# llvm does not support spec files
66ifeq ( ,$(filter lld, $(LD ) ) )
7+ # Ubuntu implemented this in dpkg-buildpackage, make this a no-op to avoid duplication
8+ include /usr/share/dpkg/vendor.mk
9+ ifneq ($(DEB_VENDOR ) ,Ubuntu)
710# binutils 2.39 is required for --package-metadata=
811ifeq (0, $(shell dpkg --compare-versions $$(dpkg-query -f '$${Version}' -W binutils ) ge 2.39; echo $$? ) )
9- include /usr/share/dpkg/vendor.mk
1012ifeq (, $(filter nocheck, $(DEBUGINFOD_URLS ) ) )
11- ifeq ($(DEB_VENDOR ) ,Ubuntu)
12- export DEBUGINFOD_URLS=https ://debuginfod.ubuntu.com
13- else
1413export DEBUGINFOD_URLS=https ://debuginfod.debian.net
1514endif
16- endif
1715export DEB_SOURCE_PACKAGE_VERSION =$(shell dpkg-parsechangelog -S Version)
1816export DEB_SOURCE_PACKAGE_NAME =$(shell dpkg-parsechangelog -S Source)
1917# Set by /usr/share/dpkg/vendor.mk
2018export DEB_VENDOR
2119export DEB_LDFLAGS_MAINT_APPEND+ = -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs
2220endif
2321endif
22+ endif
2423
You can’t perform that action at this time.
0 commit comments