From 2adf7af6ff687584eb99b5b9e75f051438322aa9 Mon Sep 17 00:00:00 2001 From: partisan Date: Tue, 28 Jan 2025 00:54:11 +0100 Subject: [PATCH] disabled debug in build --- pre-compile-patches/mozconfig.patch | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/pre-compile-patches/mozconfig.patch b/pre-compile-patches/mozconfig.patch index 429b1cb..30d6993 100644 --- a/pre-compile-patches/mozconfig.patch +++ b/pre-compile-patches/mozconfig.patch @@ -1,12 +1,26 @@ t: new o: .mozconfig +// Update channel configuration +ac_add_options --enable-update-channel=release +// Application name and branding +ac_add_options --with-app-name=spitfire +ac_add_options --with-app-basename=Spitfire +// Automatically clean up the build directory if configuration changes +mk_add_options AUTOCLOBBER=1 + +// Build the browser application +ac_add_options --enable-application=browser -+ac_add_options --enable-debug -+ac_add_options --disable-tests + +// Optimize for release builds (disable debug and tests) ++ac_add_options --disable-debug ++ac_add_options --disable-updater + +// Disable crash reporter ++ac_add_options --disable-crashreporter + +// Disable telemetry ++ac_add_options --disable-telemetry +