summaryrefslogtreecommitdiff
path: root/package/flex
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-28 19:01:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-28 19:01:03 +0100
commit2ff029077bc99d78e4e6522145d1c3680baad2c9 (patch)
tree004563b655e94b5884ace82ec83890164d96e681 /package/flex
parenta2cb1b3951d0e9b5e2c16ce6e871e7ef7056c951 (diff)
fix flex build on native target
Diffstat (limited to 'package/flex')
-rw-r--r--package/flex/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/flex/Makefile b/package/flex/Makefile
index d026b2458..f77e4650a 100644
--- a/package/flex/Makefile
+++ b/package/flex/Makefile
@@ -16,6 +16,9 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FLEX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_realloc_0_nonnull=yes
+
post-install:
${INSTALL_DIR} ${IDIR_FLEX}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin