flex: revert chnage to use TARGET_CC

This commit is contained in:
Rudi Heitbaum 2025-05-25 13:05:39 +00:00
parent be6ef6fd3b
commit c75a95a97a

View File

@ -18,14 +18,6 @@ PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared --disable-rpath --with
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_realloc_0_nonnull=yes \
ac_cv_func_malloc_0_nonnull=yes"
pre_configure_target() {
export CC_FOR_BUILD="${CC}";
export CFLAGS_FOR_BUILD="${CFLAGS}";
export CPP_FOR_BUILD="${CPP}";
export CPPFLAGS_FOR_BUILD="${CPPFLAGS}";
export LDFLAGS_FOR_BUILD="${LDFLAGS}";
}
post_makeinstall_host() {
cat >${TOOLCHAIN}/bin/lex <<"EOF"
#!/bin/sh