[pve-devel] [PATCH qemu 2/2] d/rules: add note explaining why using noopt doesn't currenlty work
Fiona Ebner
f.ebner at proxmox.com
Fri Feb 10 10:39:24 CET 2023
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
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
--
2.30.2
More information about the pve-devel
mailing list