From 51b722b6019ce4466abac491faf155dd77d945d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz?= Date: Mon, 2 Dec 2024 14:36:37 +0100 Subject: [PATCH] debian: work around compiler issues --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index 54340461efd..b010daa11bc 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,12 @@ include debian/opts.mk export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 +# Work around compiler issues +export DEB_CFLAGS_MAINT_STRIP = "-g -O3 -O2" +export DEB_CFLAGS_MAINT_PREPEND = "-g -O2" +export DEB_CXXFLAGS_MAINT_STRIP = "-g -O3 -O2" +export DEB_CXXFLAGS_MAINT_PREPEND = "-g -O2" + # Needed for ccache to work in case the build directory changed # (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810871) export CCACHE_BASEDIR = $(shell pwd)