added DPKG_BUILDFLAGS option
This commit is contained in:
parent
972b017b2b
commit
cf2ecbb62b
6
debian/rules
vendored
6
debian/rules
vendored
@ -2,12 +2,12 @@
|
||||
|
||||
include /usr/share/quilt/quilt.make
|
||||
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
CFLAGS = -Wall
|
||||
LDFLAGS = -Wl,--as-needed
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user