flex: work around realloc/malloc build failures with flex:target

This commit is contained in:
MilhouseVH 2019-02-08 17:17:43 +00:00
parent 48dbea3738
commit c7a9b361a3

View File

@ -15,6 +15,9 @@ PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared --disable-rpath --with-gnu-ld" PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared --disable-rpath --with-gnu-ld"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_realloc_0_nonnull=yes \
ac_cv_func_malloc_0_nonnull=yes"
post_makeinstall_host() { post_makeinstall_host() {
cat > $TOOLCHAIN/bin/lex << "EOF" cat > $TOOLCHAIN/bin/lex << "EOF"
#!/bin/sh #!/bin/sh