From 4cfdbcfee085f4013cb9f70153634940d8eeb067 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 6 Mar 2025 12:36:42 -0700 Subject: [PATCH] debian/rules: Optionally enable sccache Signed-off-by: Zack Cerza --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 4285d4e64ed88..b935efaa8cddc 100755 --- a/debian/rules +++ b/debian/rules @@ -48,6 +48,9 @@ ifneq (,$(filter with_system_libs,$(DEB_BUILD_OPTIONS))) extraopts += -DWITH_SYSTEM_BOOST=ON extraopts += -DWITH_SYSTEM_PMDK=ON endif +ifeq ($(SCCACHE), true) +extraopts += -DWITH_SCCACHE=ON +endif ifeq ($(DWZ), false) override_dh_dwz: -- 2.39.5