This used to be the default configuration, saving a few kbytes on the library. The features this omits might weigh heavier than a few kbytes, so make this configurable.
Signed-off-by: Florian Bäuerle <[email protected]> --- rules/poco.in | 6 ++++++ rules/poco.make | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rules/poco.in b/rules/poco.in index 6f5afd804..7bd859a14 100644 --- a/rules/poco.in +++ b/rules/poco.in @@ -19,6 +19,12 @@ menuconfig POCO if POCO +config POCO_POQUITO + bool + prompt "smaller code-size" + help + Omit a few features for smaller codesize. + config POCO_ENCODINGS bool prompt "double-byte encodings library" diff --git a/rules/poco.make b/rules/poco.make index d280e08af..c60802b2e 100644 --- a/rules/poco.make +++ b/rules/poco.make @@ -57,7 +57,7 @@ POCO_CONF_OPT := \ --no-tests \ --no-samples \ --omit=$(subst $(ptx/def/space),$(ptx/def/comma),$(POCO_LIBS-)) \ - --poquito \ + $(call ptx/ifdef/PTXCONF_POCO_POQUITO,--poquito) \ --unbundled \ --shared -- 2.21.0 _______________________________________________ ptxdist mailing list [email protected]
