|
|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: package/.../flex/flex.conf |
|
|
|
# Copyright (C) 2016 The OpenSDE Project |
|
|
|
# Copyright (C) 2016 - 2020 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 1998 - 2004 Clifford Wolf |
|
|
|
# |
|
|
|
@ -20,8 +20,18 @@ pkg_flex_postmake() { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if ! atstage native; then |
|
|
|
var_append configcache ' ' 'ac_cv_func_malloc_0_nonnull=yes' |
|
|
|
var_append configcache ' ' 'ac_cv_func_realloc_0_nonnull=yes' |
|
|
|
fi |
|
|
|
|
|
|
|
hook_add postmake 5 "pkg_flex_postmake" |
|
|
|
hook_add preconf 5 "sed -i -e '/test-bison-yylloc/d' -e '/test-bison-yylval/d' tests/Makefile.in" |
|
|
|
# don't mix with host system |
|
|
|
var_append GCC_WRAPPER_REMOVE ' ' "-I/usr/include" |
|
|
|
|
|
|
|
var_append confopt ' ' "--enable-shared" |
|
|
|
var_append confopt ' ' "--disable-static" |
|
|
|
|
|
|
|
# Delete the following line when updating flex! |
|
|
|
hook_add preconf 5 "aclocal ; autoconf ; automake --add-missing" |