Commit 4f6c1570 authored by Sören Tempel's avatar Sören Tempel
Browse files

main/vim: add workaround for bug in vim's LDFLAGS modification

Starting with abuild-3.8.0_rc1 vim no longer builds with the default
LDFLAGS value provided in /etc/abuild.conf. This is due to LDFLAGS
modifications performed by vim's build system.

See https://github.com/vim/vim/issues/8181

With this commit --as-needed is no longer the last linker option. Not
sure if this is relevant or not.
parent a88f33d4
Pipeline #81234 passed with stages
in 28 minutes and 54 seconds
......@@ -49,7 +49,8 @@ build() {
--enable-gui=no \
--with-lua-prefix=/usr/lua5.3 \
--with-compiledby="Alpine Linux"
make
# workaround for https://github.com/vim/vim/issues/8181
make LDFLAGS="$LDFLAGS"
cd "$builddir"-gvim
./configure \
--build=$CBUILD \
......@@ -62,8 +63,8 @@ build() {
--enable-multibyte \
--enable-gui=gtk3 \
--with-lua-prefix=/usr/lua5.3 \
--with-compiledby="Alpine Linux"
make
# workaround for https://github.com/vim/vim/issues/8181
make LDFLAGS="$LDFLAGS"
}
check() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment