Mercurial > mxe-octave
comparison src/build-flex.mk @ 4635:70d1bdf81ce8
build-flex.mk: Avoid reallocarray for all builds.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 23 Mar 2018 11:50:29 -0400 |
parents | b23584d79172 |
children |
comparison
equal
deleted
inserted
replaced
4634:cf208c67ddfa | 4635:70d1bdf81ce8 |
---|---|
14 $(WGET) -q -O- 'https://github.com/westes/flex/tags' | \ | 14 $(WGET) -q -O- 'https://github.com/westes/flex/tags' | \ |
15 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | $(SORT) -V | \ | 15 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | $(SORT) -V | \ |
16 tail -1 | 16 tail -1 |
17 endef | 17 endef |
18 | 18 |
19 ifeq ($(MXE_NATIVE_BUILD),no) | 19 $(PKG)_CONFIGURE_OPTIONS := ac_cv_func_reallocarray=no |
20 $(PKG)_CONFIGURE_OPTIONS := ac_cv_func_reallocarray=no | |
21 endif | |
22 | 20 |
23 define $(PKG)_BUILD | 21 define $(PKG)_BUILD |
24 mkdir '$(1).build' | 22 mkdir '$(1).build' |
25 cd '$(1).build' && '$(1)/configure' $($(PKG)_CONFIGURE_OPTIONS) \ | 23 cd '$(1).build' && '$(1)/configure' $($(PKG)_CONFIGURE_OPTIONS) \ |
26 --prefix='$(BUILD_TOOLS_PREFIX)' | 24 --prefix='$(BUILD_TOOLS_PREFIX)' |