From ade9f501602d668aa3d0a2310637e4422b9741cd Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Fri, 10 Feb 2023 10:39:24 +0100 Subject: [PATCH] d/rules: add note explaining why using noopt doesn't currenlty work Signed-off-by: Fiona Ebner --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 7fa9911..e69ba47 100755 --- a/debian/rules +++ b/debian/rules @@ -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