mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
perlmod: global knob to disable comment stripping modules
Certain strings are misinterpreted as comments by perlmod.mk and removed when they shouldn't be (in particular, perl-cgi). Enable this whenever you have sufficient flash space. Globally, CONFIG_PERL_NOCOMMENT=y (default) causes comments to be stripped as before. However, a package (like perl-cgi) can override this with PKG_LEAVE_COMMENTS=1. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
@@ -17,4 +17,15 @@ config PERL_TESTS
|
||||
Test support is still in development. Some tests will fail,
|
||||
others are just missing completely.
|
||||
|
||||
config PERL_NOCOMMENT
|
||||
bool "Strip comments and pod sections from modules"
|
||||
default y
|
||||
help
|
||||
Remove comments and pod sections for all perl packages.
|
||||
|
||||
This will descrease the size of perl libraries moderately.
|
||||
|
||||
Stripping occasionally gets confused and mangles valid code,
|
||||
so disable this option if you're not pressed for space.
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user