diff options
author | 2022-08-18 01:17:59 +0200 | |
---|---|---|
committer | 2022-08-23 06:23:57 +0100 | |
commit | 9711e66907f463dbafc06d8c3c0605fe44d0dc2e (patch) | |
tree | f9bb38ce7d25e40c2c150ed320c3580ccd301ca1 /app-editors/vim | |
parent | Revert "toolchain.eclass: ensure thumb mode for armv6m" (diff) | |
download | gentoo-9711e66907f463dbafc06d8c3c0605fe44d0dc2e.tar.gz gentoo-9711e66907f463dbafc06d8c3c0605fe44d0dc2e.tar.bz2 gentoo-9711e66907f463dbafc06d8c3c0605fe44d0dc2e.zip |
app-editor/vim: provide configure defaults when cross compiling
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/vim')
-rw-r--r-- | app-editors/vim/vim-9.0.0099.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app-editors/vim/vim-9.0.0099.ebuild b/app-editors/vim/vim-9.0.0099.ebuild index b3882ef81361..ac5d29c84a4c 100644 --- a/app-editors/vim/vim-9.0.0099.ebuild +++ b/app-editors/vim/vim-9.0.0099.ebuild @@ -247,6 +247,14 @@ src_configure() { # keep prefix env contained within the EPREFIX use prefix && myconf+=( --without-local-dir ) + if tc-is-cross-compiler ; then + export vim_cv_getcwd_broken=no \ + vim_cv_memmove_handles_overlap=yes \ + vim_cv_stat_ignores_slash=yes \ + vim_cv_terminfo=yes \ + vim_cv_toupper_broken=no + fi + econf \ --with-modified-by=Gentoo-${PVR} \ "${myconf[@]}" |