Commit 9b4f8ae1 authored by Alberto Garcia's avatar Alberto Garcia
Browse files

Don't set the build flags manually

parent 458fbcee
......@@ -3,6 +3,12 @@ webkit2gtk (2.28.2-1) UNRELEASED; urgency=medium
* New upstream release (Closes: #956837).
* debian/patches/fix-ftbfs-mips64el.patch:
+ Drop this patch.
* debian/rules:
+ Don't set -Wall or -Wl,--as-needed, these are already used by
default. Fixes the debian-rules-uses-as-needed-linker-flag lintian
warning.
+ Include /usr/share/dpkg/buildflags.mk instead of setting the build
flags manually.
-- Alberto Garcia <berto@igalia.com> Fri, 24 Apr 2020 13:09:58 +0200
......
......@@ -3,10 +3,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/architecture.mk
CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) -Wall
CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
include /usr/share/dpkg/buildflags.mk
EXTRA_CMAKE_ARGUMENTS =
DH_GENCONTROL_ARGS =
......
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