From a83bfa7a45d1545005f58642e1882687aae8501e Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mr-cheff@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:55:08 +0000 Subject: [PATCH] Enable Clang plugin for Linux and macOS builds in mozconfig --- configs/common/mozconfig | 2 +- configs/linux/mozconfig | 2 -- configs/macos/mozconfig | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configs/common/mozconfig b/configs/common/mozconfig index 73d23dc3c..cbe57213b 100644 --- a/configs/common/mozconfig +++ b/configs/common/mozconfig @@ -24,9 +24,9 @@ export MOZ_SOURCE_CHANGESET=${changeset} export MOZ_INCLUDE_SOURCE_INFO=1 ac_add_options --enable-application=browser -#ac_add_options --enable-clang-plugin if test "$ZEN_RELEASE"; then + ac_add_options --enable-clang-plugin ac_add_options --enable-bootstrap ac_add_options --enable-release diff --git a/configs/linux/mozconfig b/configs/linux/mozconfig index ef3281250..ae948bc38 100644 --- a/configs/linux/mozconfig +++ b/configs/linux/mozconfig @@ -61,8 +61,6 @@ ac_add_options --enable-alsa ac_add_options --enable-pulseaudio if test "$ZEN_RELEASE"; then - ac_add_options --enable-clang-plugin - # Disable DMD and ELF hacks, enable linker lld ac_add_options --disable-dmd ac_add_options --enable-linker=lld diff --git a/configs/macos/mozconfig b/configs/macos/mozconfig index 17b78d30f..4bf793039 100644 --- a/configs/macos/mozconfig +++ b/configs/macos/mozconfig @@ -9,8 +9,6 @@ export MOZ_MACBUNDLE_NAME="Zen Browser.app" export MOZ_PGO=1 ac_add_options MOZ_PGO=1 -ac_add_options --enable-clang-plugin - if test "$SURFER_COMPAT" = "x86_64"; then ac_add_options --target=x86_64-apple-darwin