d/rules: add note explaining why using noopt doesn't currenlty work

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2023-02-10 10:39:24 +01:00 committed by Thomas Lamprecht
parent 0fde60fd10
commit ade9f50160

3
debian/rules vendored
View File

@ -29,6 +29,9 @@ BUILDDIR=build
CFLAGS = -Wall
# FIXME: There is a second -02 added because of meson.build in the subproject
# and that is appended after -O0 from here (last -O wins), so supporting noopt
# doesn't work like this.
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else