From a698afdaaeb35aeba23d615643ea18f312b64e3e Mon Sep 17 00:00:00 2001 From: TD-er Date: Wed, 13 Jul 2022 01:38:12 +0200 Subject: [PATCH] [Build] Do not limit build size for custom builds with VCC. (#4129) Fixes: #4129 --- src/src/CustomBuild/define_plugin_sets.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/src/CustomBuild/define_plugin_sets.h b/src/src/CustomBuild/define_plugin_sets.h index fceeb3df6..416ac53ae 100644 --- a/src/src/CustomBuild/define_plugin_sets.h +++ b/src/src/CustomBuild/define_plugin_sets.h @@ -1701,14 +1701,16 @@ To create/register a plugin, you have to : #endif // VCC builds need a bit more, disable timing stats to make it fit. -#if defined(FEATURE_ADC_VCC) && !defined(PLUGIN_SET_MAX) - #ifndef LIMIT_BUILD_SIZE - #define LIMIT_BUILD_SIZE - #endif - #ifndef NOTIFIER_SET_NONE - #define NOTIFIER_SET_NONE - #endif +#ifndef PLUGIN_BUILD_CUSTOM + #if defined(FEATURE_ADC_VCC) && !defined(PLUGIN_SET_MAX) + #ifndef LIMIT_BUILD_SIZE + #define LIMIT_BUILD_SIZE + #endif + #ifndef NOTIFIER_SET_NONE + #define NOTIFIER_SET_NONE + #endif + #endif #endif