Commit 5c5ef7c0 authored by Aaron M. Ucko's avatar Aaron M. Ucko

debian/rules: Use /usr/share/dpkg/{architecture,buildflags}.mk.

... instead of calling dpkg-{architecture,buildflags} directly (and piecemeal).
parent 2bb28d1e
......@@ -4,10 +4,13 @@ fltk1.1 (1.1.10-26) UNRELEASED; urgency=medium
* configure: Revert local changes in favor of using (dh_)autoreconf.
* debian/compat: Go ahead and advance to 11.
* debian/control: Advance debhelper B-D version constraint to (>= 11~).
* debian/rules: Allow (dh_)autoreconf, albeit with autoheader suppressed,
and configure saved and restored rather than deleted on cleanup.
* debian/rules:
- Allow (dh_)autoreconf, albeit with autoheader suppressed, and
configure saved and restored rather than deleted on cleanup.
- Use /usr/share/dpkg/{architecture,buildflags}.mk instead of calling
dpkg-{architecture,buildflags} directly (and piecemeal).
-- Aaron M. Ucko <ucko@debian.org> Sun, 10 Feb 2019 22:06:40 -0500
-- Aaron M. Ucko <amu@ucko.debian.net> Sun, 10 Feb 2019 22:25:38 -0500
fltk1.1 (1.1.10-25) unstable; urgency=medium
......
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
DPKG_EXPORT_BUILDFLAGS = yes
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk
XCFLAGS = -Wall -Wunused -Wno-format-y2k -fPIE -fno-strict-aliasing
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
libdir = /usr/lib/$(DEB_HOST_MULTIARCH)
GAMES = blocks checkers sudoku
EXTRA_MFLAGS = OPTIM="$(CFLAGS) $(XCFLAGS)" STRIP=@:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment