Skip to content

Instantly share code, notes, and snippets.

@bennyyip
Last active September 19, 2018 08:19
Show Gist options
  • Select an option

  • Save bennyyip/a492252c57470dabc90551e649635826 to your computer and use it in GitHub Desktop.

Select an option

Save bennyyip/a492252c57470dabc90551e649635826 to your computer and use it in GitHub Desktop.
vim build script for old server
#!/bin/sh
rm -f src/auto/config.cache
make clean || true
make distclean || true
CFLAGS='-g -O2' STRIP=true ./configure --prefix=$HOME/.local --localstatedir=$HOME/.local/var/lib/vim --mandir=$HOME/.local/share/man --enable-acl --disable-gui --without-x --disable-fontset --disable-xsmp --enable-pythoninterp --enable-perlinterp=dynamic --enable-cscope --enable-multibyte --with-features=huge --enable-terminal --enable-fail-if-missing
echo 'Building...'
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment