Commit 8bbc0cdd authored by Alastair McKinstry's avatar Alastair McKinstry

From Lintian: Don't set CFLAGS in DEB_BUILD_OPTIONS clause. Now uses dpkg-buildflags.

parent 4c279a6f
......@@ -3,6 +3,8 @@ glew (2.1.0-1) UNRELEASED; urgency=medium
* New upstream release.
* Taking over as Maintainer. Closes: #866743.
* Use xz compression
* From Lintian: Don't set CFLAGS in DEB_BUILD_OPTIONS clause.
Now uses dpkg-buildflags.
-- Alastair McKinstry <mckinstry@debian.org> Wed, 20 Jun 2018 14:14:01 +0100
......
......@@ -9,13 +9,9 @@ export DH_VERBOSE
include /usr/share/dpkg/architecture.mk
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
DPKG_EXPORT_BUILDFLAGS = 1
DEB_CFLAGS_MAINT_APPEND = -Wall -g
include /usr/share/dpkg/buildflags.mk
# let dh_strip strip
export STRIP=true
......
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