pcre2: enable no MMU build
PATCH 1/1 pcre2: enable no MMU build
Use '--disable-pcre2grep-callout' for !BR2_USE_MMU, disables fork usage.
Fixes [1]:
CCLD pcre2grep
src/pcre2grep-pcre2grep.o: In function `pcre2grep_callout':
pcre2grep.c:(.text+0x402): undefined reference to `fork'
collect2: error: ld returned 1 exit status
[1] http://autobuild.buildroot.net/results/2c2/2c2665844748a3bdb010315200eea70aa3504b95
--- package/pcre2/pcre2.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/pcre2/pcre2.mk +5 -0
@@ -16,5 +16,10 @@ PCRE2_CONF_OPTS += --enable-pcre2-8 PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_16),--enable-pcre2-16,--disable-pcre2-16) PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_32),--enable-pcre2-32,--disable-pcre2-32) +# disable fork usage if not available +ifeq ($(BR2_USE_MMU),) +PCRE2_CONF_OPTS += --disable-pcre2grep-callout +endif + $(eval $(autotools-package)) $(eval $(host-autotools-package))
Signature · 1 line
2.11.0
PATCH 1/1 pcre2: enable no MMU build
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Seiderer <[email protected]> writes:
Use '--disable-pcre2grep-callout' for !BR2_USE_MMU, disables fork usage.
Fixes [1]:
Quoted 8 lines
CCLD pcre2grep
src/pcre2grep-pcre2grep.o: In function `pcre2grep_callout':
pcre2grep.c:(.text+0x402): undefined reference to `fork'
collect2: error: ld returned 1 exit status[1] http://autobuild.buildroot.net/results/2c2/2c2665844748a3bdb010315200eea70aa3504b95
Signed-off-by Peter Seiderer <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard